Skip to content

Alas Bitget continues #107

Alas Bitget continues

Alas Bitget continues #107

Triggered via push August 14, 2024 06:27
Status Failure
Total duration 3m 4s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: exchanges/bitget/bitget_wrapper.go#L44
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#L1144
string `-FUTURES` has 37 occurrences, make it a constant (goconst)
lint: exchanges/bitget/bitget_test.go#L328
string `****@virtual-bitget.com` has 6 occurrences, make it a constant (goconst)
lint: exchanges/bitget/bitget_wrapper.go#L153
commentedOutCode: may want to remove commented-out code (gocritic)
lint: exchanges/bitget/bitget_wrapper.go#L1076
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#L3395
commentedOutCode: may want to remove commented-out code (gocritic)
lint: exchanges/bitget/bitget_wrapper.go#L602
append to slice `funHist` with non-zero initialized length (makezero)
lint: exchanges/bitget/bitget_wrapper.go#L1131
append to slice `pairs` with non-zero initialized length (makezero)
lint: exchanges/bitget/bitget_wrapper.go#L1285
append to slice `pairs` with non-zero initialized length (makezero)