Update README.md #117
Annotations
10 errors
api/api.go#L16
exported: comment on exported type Api should be of the form "Api ..." (with optional leading article) (revive)
|
api/api.go#L18
var-naming: type Api should be API (revive)
|
api/api.go#L148
ifElseChain: rewrite if-else to switch statement (gocritic)
|
api/api.go#L182
var-naming: func NewApi should be NewAPI (revive)
|
api/api_test.go#L8
cognitive complexity 55 of func `TestEncoding` is high (> 30) (gocognit)
|
api/client/client.go#L14
import 'github.com/gorilla/websocket' is not allowed from list 'Main' (depguard)
|
api/client/client.go#L125
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
|
api/client/client.go#L193
response body must be closed (bodyclose)
|
api/default.go#L19
var-naming: func newApi should be newAPI (revive)
|
api/default.go#L50
Error return value is not checked (errcheck)
|
The logs for this run have expired and are no longer available.
Loading