Skip to content

Bitget interim commit #131

Bitget interim commit

Bitget interim commit #131

Triggered via push October 16, 2024 02:01
Status Failure
Total duration 3m 12s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: exchanges/bitget/bitget_wrapper.go#L46
Error return value of `bi.SetupDefaults` is not checked (errcheck)
lint: exchanges/bitget/bitget_wrapper.go#L128
Error return value of `bi.API.Endpoints.SetDefaultEndpoints` is not checked (errcheck)
lint: exchanges/bitget/bitget_test.go#L318
string `****@virtual-bitget.com` has 6 occurrences, make it a constant (goconst)
lint: exchanges/bitget/bitget_test.go#L1117
string `-FUTURES` has 37 occurrences, make it a constant (goconst)
lint: exchanges/bitget/bitget_websocket.go#L966
appendCombine: can combine chain of 2 appends into one (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L263
builtinShadow: shadowing of predeclared identifier: close (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L687
builtinShadow: shadowing of predeclared identifier: close (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L934
builtinShadow: shadowing of predeclared identifier: cap (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L777
hugeParam: wsResponse is heavy (168 bytes); consider passing it by pointer (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L804
hugeParam: wsResponse is heavy (168 bytes); consider passing it by pointer (gocritic)