Skip to content

Bitget progress

Bitget progress #92

Triggered via push July 2, 2024 04:01
Status Failure
Total duration 3m 12s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

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