Bitget progress #92
Annotations
10 errors and 10 warnings
common/common.go#L1
: # github.com/thrasher-corp/gocryptotrader/common [github.com/thrasher-corp/gocryptotrader/common.test]
|
common/common_test.go#L732
undefined: zeroValueUnix
|
common/common_test.go#L737
undefined: zeroValueUnix (typecheck)
|
exchanges/bitget/bitget_wrapper.go#L37
Error return value of `bi.SetupDefaults` is not checked (errcheck)
|
exchanges/bitget/bitget_wrapper.go#L102
Error return value of `bi.API.Endpoints.SetDefaultEndpoints` is not checked (errcheck)
|
exchanges/bitget/bitget_test.go#L1148
string `-FUTURES` has 37 occurrences, make it a constant (goconst)
|
exchanges/bitget/bitget_test.go#L296
string `****@virtual-bitget.com` has 6 occurrences, make it a constant (goconst)
|
exchanges/bitget/bitget.go#L436
commentedOutCode: may want to remove commented-out code (gocritic)
|
exchanges/bitget/bitget.go#L462
commentedOutCode: may want to remove commented-out code (gocritic)
|
exchanges/bitget/bitget.go#L4191
commentedOutCode: may want to remove commented-out code (gocritic)
|
exchanges/bitget/bitget.go#L273
exported: comment on exported method Bitget.QueryAnnouncements should be of the form "QueryAnnouncements ..." (revive)
|
exchanges/bitget/bitget.go#L88
var-naming: const bitgetBatchCreateSubAccApi should be bitgetBatchCreateSubAccAPI (revive)
|
exchanges/bitget/bitget_types.go#L97
exported: comment on exported type P2PMerListResp should be of the form "P2PMerListResp ..." (with optional leading article) (revive)
|
exchanges/bitget/bitget_wrapper.go#L439
exported: comment on exported method Bitget.GetAccountFundingHistory should be of the form "GetAccountFundingHistory ..." (revive)
|
exchanges/bitget/bitget_types.go#L678
exported: comment on exported type PlaceSpotOrderStruct should be of the form "PlaceSpotOrderStruct ..." (with optional leading article) (revive)
|
exchanges/bitget/bitget_types.go#L1096
exported: comment on exported type OpenPositionsResp should be of the form "OpenPositionsResp ..." (with optional leading article) (revive)
|
exchanges/bitget/bitget_types.go#L2054
exported: exported type APY should have comment or be unexported (revive)
|
exchanges/bitget/bitget_types.go#L2149
exported: comment on exported type SaveResp should be of the form "SaveResp ..." (with optional leading article) (revive)
|
exchanges/bitget/bitget_types.go#L2157
exported: comment on exported type SaveResult should be of the form "SaveResult ..." (with optional leading article) (revive)
|
exchanges/bitget/bitget_types.go#L377
var-naming: struct field SubaccountApiKey should be SubaccountAPIKey (revive)
|
This job failed
Loading