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