Greed Mode (this branch could be broken) #117
Annotations
10 errors
lint:
broadcast/broadcast.go#L127
string `api` has 4 occurrences, make it a constant (goconst)
|
lint:
broadcast/broadcast.go#L116
string `grpc` has 4 occurrences, make it a constant (goconst)
|
lint:
broadcast/broadcast.go#L125
string `rpc` has 4 occurrences, make it a constant (goconst)
|
lint:
main.go#L375
`if resp.Code != 0` has complex nested blocks (complexity: 8) (nestif)
|
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)
|
lint:
broadcast/client.go#L131
var-naming: struct field RpcCallStart should be RPCCallStart (revive)
|
lint:
broadcast/client.go#L17
field `client` is unused (unused)
|
lint:
main.go#L462
func `displayStats` is unused (unused)
|
lint:
broadcast/broadcast.go#L124
ineffectual assignment to err (ineffassign)
|
lint:
broadcast/broadcast.go#L132
naked return in func `Loop` with 101 lines of code (nakedret)
|