Fix pipe ( to catch go vet output ) #5
Annotations
6 errors and 1 warning
[gostyle] testdata/example/main.go#L10:
testdata/example/main.go#L10
[gostyle.getters] Function and method names should not use a "Get" or "get" prefix, unless the underlying concept uses the word "get" (e.g. an HTTP GET). Prefer starting the name with the noun directly, for example use "Counts" over "GetCounts". (ref: https://google.github.io/styleguide/go/decisions#getters ): GetSomething
|
[gostyle] testdata/example/main.go#L5:
testdata/example/main.go#L5
[gostyle.ifacenames] By convention, one-method interfaces are named by the method name plus an -er suffix or similar modification to construct an agent noun. (ref: https://go.dev/doc/effective_go#interface-names ): Query
|
[gostyle] testdata/example/main.go#L9:
testdata/example/main.go#L9
[gostyle.ifacenames] By convention, one-method interfaces are named by the method name plus an -er suffix or similar modification to construct an agent noun. (ref: https://go.dev/doc/effective_go#interface-names ): Getter
|
Test
[gostyle.getters] Function and method names should not use a "Get" or "get" prefix, unless the underlying concept uses the word "get" (e.g. an HTTP GET). Prefer starting the name with the noun directly, for example use "Counts" over "GetCounts". (ref: https://google.github.io/styleguide/go/decisions#getters ): GetSomething
|
Test
[gostyle.ifacenames] By convention, one-method interfaces are named by the method name plus an -er suffix or similar modification to construct an agent noun. (ref: https://go.dev/doc/effective_go#interface-names ): Query
|
Test
[gostyle.ifacenames] By convention, one-method interfaces are named by the method name plus an -er suffix or similar modification to construct an agent noun. (ref: https://go.dev/doc/effective_go#interface-names ): Getter
|
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/gostyle-action/gostyle-action. Supported file pattern: go.sum
|