exchanges/gateio: Add websocket order batch [SPOT] support with context mocking #7714
Annotations
7 errors and 1 warning
lint:
exchanges/stream/mock_test.go#L15
Error return value of `got.SendMessageReturnResponse` is not checked (errcheck)
|
lint:
exchanges/gateio/gateio_wrapper.go#L2680
sloppyReassign: re-assignment to `err` can be replaced with `err := orders[x].Validate(g.GetTradingRequirements())` (gocritic)
|
lint:
exchanges/request/mock.go#L36
unnecessary conversion (unconvert)
|
lint:
exchanges/request/request.go#L201
response body must be closed (bodyclose)
|
lint:
exchanges/request/mock_test.go#L21
response body must be closed (bodyclose)
|
lint:
exchanges/request/mock_test.go#L17
response body must be closed (bodyclose)
|
lint
issues found
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|