Websocket work & pre-emptive nit fixes #128
Annotations
10 errors
golangci-lint:
exchanges/bitget/bitget_wrapper.go#L46
Error return value of `bi.SetupDefaults` is not checked (errcheck)
|
golangci-lint:
exchanges/bitget/bitget_wrapper.go#L130
Error return value of `bi.API.Endpoints.SetDefaultEndpoints` is not checked (errcheck)
|
golangci-lint:
exchanges/bitget/bitget_test.go#L1163
string `-FUTURES` has 37 occurrences, make it a constant (goconst)
|
golangci-lint:
exchanges/bitget/bitget_test.go#L332
string `****@virtual-bitget.com` has 6 occurrences, make it a constant (goconst)
|
golangci-lint:
exchanges/bitget/bitget_websocket.go#L745
appendCombine: can combine chain of 2 appends into one (gocritic)
|
golangci-lint:
exchanges/bitget/bitget_websocket.go#L235
builtinShadow: shadowing of predeclared identifier: close (gocritic)
|
golangci-lint:
exchanges/bitget/bitget_websocket.go#L451
builtinShadow: shadowing of predeclared identifier: close (gocritic)
|
golangci-lint:
exchanges/bitget/bitget_websocket.go#L701
builtinShadow: shadowing of predeclared identifier: cap (gocritic)
|
golangci-lint:
exchanges/bitget/bitget_websocket.go#L544
hugeParam: wsResponse is heavy (152 bytes); consider passing it by pointer (gocritic)
|
golangci-lint:
exchanges/bitget/bitget_websocket.go#L571
hugeParam: wsResponse is heavy (152 bytes); consider passing it by pointer (gocritic)
|
Loading