Skip to content

Merge branch 'master' into bitget_api_creation #55

Merge branch 'master' into bitget_api_creation

Merge branch 'master' into bitget_api_creation #55

Triggered via push March 26, 2024 04:30
Status Failure
Total duration 5m 33s
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#L292
commentedOutCode: may want to remove commented-out code (gocritic)
lint: exchanges/bitget/bitget.go#L318
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_wrapper.go#L161
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (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)
lint: exchanges/bitget/bitget_wrapper.go#L264
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: exchanges/bitget/bitget_wrapper.go#L305
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: exchanges/bitget/bitget_wrapper.go#L312
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: exchanges/bitget/bitget.go#L128
exported: comment on exported method Bitget.QueryAnnouncements should be of the form "QueryAnnouncements ..." (revive)