Greed Mode (this branch could be broken) #117
Annotations
10 errors
golangci-lint:
broadcast/broadcast.go#L127
string `api` has 4 occurrences, make it a constant (goconst)
|
golangci-lint:
broadcast/broadcast.go#L116
string `grpc` has 4 occurrences, make it a constant (goconst)
|
golangci-lint:
broadcast/broadcast.go#L125
string `rpc` has 4 occurrences, make it a constant (goconst)
|
golangci-lint:
main.go#L375
`if resp.Code != 0` has complex nested blocks (complexity: 8) (nestif)
|
golangci-lint:
broadcast/client.go#L128
exported: type name will be used as broadcast.BroadcastMetrics by other packages, and that stutters; consider calling this Metrics (revive)
|
golangci-lint:
broadcast/client.go#L131
var-naming: struct field RpcCallStart should be RPCCallStart (revive)
|
golangci-lint:
broadcast/client.go#L17
field `client` is unused (unused)
|
golangci-lint:
main.go#L462
func `displayStats` is unused (unused)
|
golangci-lint:
broadcast/broadcast.go#L124
ineffectual assignment to err (ineffassign)
|
golangci-lint:
broadcast/broadcast.go#L132
naked return in func `Loop` with 101 lines of code (nakedret)
|
Loading