build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3 #130
Annotations
10 errors and 10 warnings
golangci-lint:
api/api.go#L20
interface method Init must have all named params (inamedparam)
|
golangci-lint:
api/api.go#L24
interface method Register must have all named params (inamedparam)
|
golangci-lint:
api/api.go#L26
interface method Deregister must have all named params (inamedparam)
|
golangci-lint:
api/api.go#L28
interface method Run must have named param for type context.Context (inamedparam)
|
golangci-lint:
api/api.go#L148
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
api/api_test.go#L8
cognitive complexity 51 of func `TestEncoding` is high (> 30) (gocognit)
|
golangci-lint:
api/client/client.go#L14
import 'github.com/gorilla/websocket' is not allowed from list 'Main' (depguard)
|
golangci-lint:
api/client/client.go#L125
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
|
golangci-lint:
api/client/client.go#L193
response body must be closed (bodyclose)
|
golangci-lint:
api/default.go#L50
Error return value is not checked (errcheck)
|
golangci-lint:
api/api.go#L16
exported: comment on exported type Api should be of the form "Api ..." (with optional leading article) (revive)
|
golangci-lint:
api/api.go#L18
var-naming: type Api should be API (revive)
|
golangci-lint:
api/api.go#L182
var-naming: func NewApi should be NewAPI (revive)
|
golangci-lint:
api/default.go#L19
var-naming: func newApi should be newAPI (revive)
|
golangci-lint:
api/handler/http/http_test.go#L17
var-naming: func testHttp should be testHTTP (revive)
|
golangci-lint:
api/handler/rpc/rpc_test.go#L30
var-naming: type jsonUrl should be jsonURL (revive)
|
golangci-lint:
api/handler/rpc/rpc_test.go#L35
var-naming: var jUrl should be jURL (revive)
|
golangci-lint:
api/internal/proto/message.pb.go#L1
package-comments: should have a package comment (revive)
|
golangci-lint:
api/internal/proto/message.pb.go#L3
exported: exported type Message should have comment or be unexported (revive)
|
golangci-lint:
api/internal/proto/message.pb.go#L7
exported: exported method Message.ProtoMessage should have comment or be unexported (revive)
|
The logs for this run have expired and are no longer available.
Loading