Skip to content

Bitget wrapper wrapup #108

Bitget wrapper wrapup

Bitget wrapper wrapup #108

Triggered via push August 19, 2024 07:34
Status Failure
Total duration 3m 21s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: exchanges/bitget/bitget_wrapper.go#L45
Error return value of `bi.SetupDefaults` is not checked (errcheck)
lint: exchanges/bitget/bitget_wrapper.go#L129
Error return value of `bi.API.Endpoints.SetDefaultEndpoints` is not checked (errcheck)
lint: exchanges/bitget/bitget_test.go#L1146
string `-FUTURES` has 37 occurrences, make it a constant (goconst)
lint: exchanges/bitget/bitget_test.go#L330
string `****@virtual-bitget.com` has 6 occurrences, make it a constant (goconst)
lint: exchanges/bitget/bitget_wrapper.go#L154
commentedOutCode: may want to remove commented-out code (gocritic)
lint: exchanges/bitget/bitget_wrapper.go#L1073
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)
lint: exchanges/bitget/bitget_test.go#L3492
commentedOutCode: may want to remove commented-out code (gocritic)
lint: exchanges/bitget/bitget_wrapper.go#L599
append to slice `funHist` with non-zero initialized length (makezero)
lint: exchanges/bitget/bitget_wrapper.go#L1128
append to slice `pairs` with non-zero initialized length (makezero)
lint: exchanges/bitget/bitget_wrapper.go#L1277
append to slice `pairs` with non-zero initialized length (makezero)