Skip to content

fixup! Huobi: Add V2 websocket support #2366

fixup! Huobi: Add V2 websocket support

fixup! Huobi: Add V2 websocket support #2366

Triggered via push October 29, 2024 02:17
Status Failure
Total duration 1m 47s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: exchanges/huobi/huobi_test.go#L1966
commentFormatting: put a space between `//` and comment text (gocritic)
lint: exchanges/huobi/huobi_test.go#L1634
`millenium` is a misspelling of `millennium` (misspell)
lint: exchanges/huobi/huobi_test.go#L1639
`millenium` is a misspelling of `millennium` (misspell)
lint: exchanges/huobi/huobi_websocket.go#L248
Consider pre-allocating `trades` (prealloc)
lint: exchanges/huobi/huobi_types.go#L812
var-naming: struct field Id should be ID (revive)
lint: exchanges/huobi/huobi_types.go#L819
var-naming: struct field Id should be ID (revive)
lint: exchanges/huobi/huobi_test.go#L1965
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
lint: exchanges/huobi/huobi_websocket.go#L217
printf: fmt.Errorf format %w has arg s.Channel of wrong type string (govet)
lint: exchanges/huobi/huobi_test.go#L1886
shadow: declaration of "h" shadows declaration at line 41 (govet)
lint: exchanges/huobi/huobi_test.go#L1923
shadow: declaration of "h" shadows declaration at line 41 (govet)