fixup! Huobi: Add V2 websocket support #2366
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)
|