Coinbase WS wrapperupperer #32
Annotations
10 errors and 11 warnings
lint:
exchanges/coinbasepro/coinbasepro_test.go#L121
Error return value of `c.API.Endpoints.SetDefaultEndpoints` is not checked (errcheck)
|
lint:
exchanges/coinbasepro/coinbasepro_test.go#L152
Error return value of `c.Websocket.Enable` is not checked (errcheck)
|
lint:
exchanges/coinbasepro/coinbasepro_test.go#L1545
Error return value of `u.UnmarshalJSON` is not checked (errcheck)
|
lint:
exchanges/coinbasepro/coinbasepro_test.go#L1596
Error return value of `c.Websocket.Disable` is not checked (errcheck)
|
lint:
exchanges/coinbasepro/coinbasepro_test.go#L1601
Error return value of `c.Websocket.Enable` is not checked (errcheck)
|
lint:
exchanges/coinbasepro/coinbasepro_test.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint:
exchanges/coinbasepro/coinbasepro_test.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L1345
assignOp: replace `path = path + queryParams` with `path += queryParams` (gocritic)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L1385
assignOp: replace `path = path + queryParams` with `path += queryParams` (gocritic)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L1369
commentedOutCode: may want to remove commented-out code (gocritic)
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
exchanges/order/order_types.go#L365
exported: exported var AllOrderTypes should have comment or be unexported (revive)
|
lint:
exchanges/order/order_types.go#L444
exported: exported const StopUp should have comment (or a comment on this block) or be unexported (revive)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L74
exported: exported const FiatDeposit should have comment (or a comment on this block) or be unexported (revive)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L866
exported: exported method CoinbasePro.GetUserByID should have comment or be unexported (revive)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L1616
exported: exported method UnixTimestamp.UnmarshalJSON should have comment or be unexported (revive)
|
lint:
exchanges/coinbasepro/coinbasepro_types.go#L580
exported: comment on exported type AllPerpPosResponse should be of the form "AllPerpPosResponse ..." (with optional leading article) (revive)
|
lint:
exchanges/coinbasepro/coinbasepro_wrapper.go#L616
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
exchanges/coinbasepro/ratelimit.go#L25
exported: exported const V2Rate should have comment (or a comment on this block) or be unexported (revive)
|
lint:
exchanges/coinbasepro/coinbasepro_types.go#L732
exported: exported type ServerTimeV3 should have comment or be unexported (revive)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L1634
exported: exported method UnixTimestamp.Time should have comment or be unexported (revive)
|