Skip to content

Bitget progression #124

Bitget progression

Bitget progression #124

Triggered via push September 17, 2024 08:03
Status Failure
Total duration 3m 18s
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#L130
Error return value of `bi.API.Endpoints.SetDefaultEndpoints` is not checked (errcheck)
lint: exchanges/bitget/bitget_test.go#L332
string `****@virtual-bitget.com` has 6 occurrences, make it a constant (goconst)
lint: exchanges/bitget/bitget_test.go#L1163
string `-FUTURES` has 37 occurrences, make it a constant (goconst)
lint: exchanges/bitget/bitget_websocket.go#L222
builtinShadow: shadowing of predeclared identifier: close (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L312
builtinShadow: shadowing of predeclared identifier: close (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L536
builtinShadow: shadowing of predeclared identifier: cap (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L383
hugeParam: wsResponse is heavy (152 bytes); consider passing it by pointer (gocritic)
lint: exchanges/bitget/bitget_websocket.go#L410
hugeParam: wsResponse is heavy (152 bytes); consider passing it by pointer (gocritic)
lint: exchanges/bitget/bitget_wrapper.go#L1100
paramTypeCombine: func(ctx context.Context, c currency.Code, _ string, chain string) (*deposit.Address, error) could be replaced with func(ctx context.Context, c currency.Code, _, chain string) (*deposit.Address, error) (gocritic)