Skip to content

Yet more Bitget progress #56

Yet more Bitget progress

Yet more Bitget progress #56

Triggered via push March 26, 2024 06:47
Status Failure
Total duration 29s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: exchanges/bitget/bitget_wrapper.go#L36
Error return value of `bi.SetupDefaults` is not checked (errcheck)
lint: exchanges/bitget/bitget_wrapper.go#L101
Error return value of `bi.API.Endpoints.SetDefaultEndpoints` is not checked (errcheck)
lint: exchanges/bitget/bitget.go#L302
commentedOutCode: may want to remove commented-out code (gocritic)
lint: exchanges/bitget/bitget.go#L328
commentedOutCode: may want to remove commented-out code (gocritic)
lint: exchanges/bitget/bitget_wrapper.go#L126
commentedOutCode: may want to remove commented-out code (gocritic)
lint: exchanges/bitget/bitget_wrapper.go#L187
commentedOutCode: may want to remove commented-out code (gocritic)
lint: exchanges/bitget/bitget_wrapper.go#L213
commentedOutCode: may want to remove commented-out code (gocritic)
lint: exchanges/bitget/bitget_wrapper.go#L273
commentedOutCode: may want to remove commented-out code (gocritic)
lint: exchanges/bitget/bitget_wrapper.go#L388
commentedOutCode: may want to remove commented-out code (gocritic)
lint: exchanges/bitget/bitget_wrapper.go#L401
commentedOutCode: may want to remove commented-out code (gocritic)
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_types.go#L296
var-naming: struct field SubAccountApiKey should be SubAccountAPIKey (revive)
lint: exchanges/bitget/bitget_types.go#L308
var-naming: struct field SubAccountApiKey should be SubAccountAPIKey (revive)
lint: exchanges/bitget/bitget.go#L138
exported: comment on exported method Bitget.QueryAnnouncements should be of the form "QueryAnnouncements ..." (revive)
lint: exchanges/bitget/bitget.go#L856
exported: comment on exported method Bitget.BatchPlaceOrder should be of the form "BatchPlaceOrder ..." (revive)
lint: exchanges/bitget/bitget_wrapper.go#L326
exported: comment on exported method Bitget.GetAccountFundingHistory should be of the form "GetAccountFundingHistory ..." (revive)
lint: exchanges/bitget/bitget_wrapper.go#L161
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: exchanges/bitget/bitget.go#L63
var-naming: const bitgetBatchCreateSubAccApi should be bitgetBatchCreateSubAccAPI (revive)
lint: exchanges/bitget/bitget_wrapper.go#L185
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: exchanges/bitget/bitget_wrapper.go#L211
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)