Bitget progression #124
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)
|