Use -f=govet #8
Annotations
3 errors and 1 warning
Run gostyle
[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
|
Run gostyle
[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
|
Run gostyle
[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
|
Set up Go
Restore cache failed: Dependencies file is not found in /home/runner/work/gostyle-action/gostyle-action. Supported file pattern: go.sum
|
Loading