Skip to content

Approaching test perfection #147

Approaching test perfection

Approaching test perfection #147

Triggered via push November 19, 2024 07:18
Status Failure
Total duration 3m 32s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: exchanges/bitget/bitget_wrapper.go#L48
Error return value of `bi.SetupDefaults` is not checked (errcheck)
lint: exchanges/bitget/bitget_wrapper.go#L130
Error return value of `bi.API.Endpoints.SetDefaultEndpoints` is not checked (errcheck)
lint: exchanges/bitget/bitget_test.go#L343
string `****@virtual-bitget.com` has 6 occurrences, make it a constant (goconst)
lint: exchanges/bitget/bitget_test.go#L1186
string `-FUTURES` has 37 occurrences, make it a constant (goconst)
lint: exchanges/bitget/bitget_websocket.go#L1067
appendCombine: can combine chain of 2 appends into one (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L270
builtinShadow: shadowing of predeclared identifier: close (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L785
builtinShadow: shadowing of predeclared identifier: close (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L1035
builtinShadow: shadowing of predeclared identifier: cap (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L875
hugeParam: wsResponse is heavy (168 bytes); consider passing it by pointer (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L902
hugeParam: wsResponse is heavy (168 bytes); consider passing it by pointer (gocritic)