WS revamp begins #29
Annotations
10 errors and 10 warnings
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_test.go#L127
Error return value of `c.API.Endpoints.SetDefaultEndpoints` is not checked (errcheck)
|
lint:
exchanges/coinbasepro/coinbasepro_test.go#L2061
Error return value of `u.UnmarshalJSON` is not checked (errcheck)
|
lint:
exchanges/coinbasepro/coinbasepro_test.go#L6
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint:
exchanges/coinbasepro/coinbasepro_test.go#L11
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L1324
assignOp: replace `path = path + queryParams` with `path += queryParams` (gocritic)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L1357
assignOp: replace `path = path + queryParams` with `path += queryParams` (gocritic)
|
lint:
exchanges/coinbasepro/coinbasepro_websocket.go#L452
commentedOutCode: may want to remove commented-out code (gocritic)
|
lint:
exchanges/coinbasepro/coinbasepro_websocket.go#L463
commentedOutCode: may want to remove commented-out code (gocritic)
|
lint:
exchanges/coinbasepro/coinbasepro_test.go#L75
var-naming: const errJsonUnsupportedChan should be errJSONUnsupportedChan (revive)
|
lint:
exchanges/coinbasepro/coinbasepro_test.go#L77
var-naming: const errJsonNumberIntoString should be errJSONNumberIntoString (revive)
|
lint:
exchanges/coinbasepro/coinbasepro_types.go#L638
exported: exported type ServerTimeV3 should have comment or be unexported (revive)
|
lint:
exchanges/coinbasepro/ratelimit.go#L24
exported: exported const V2Rate should have comment (or a comment on this block) or be unexported (revive)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L188
unused-parameter: parameter 'expiringContractStatus' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L421
unused-parameter: parameter 'retailPortfolioID' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L1185
unused-parameter: parameter 'transferType' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L70
exported: exported const FiatDeposit should have comment (or a comment on this block) or be unexported (revive)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L803
exported: exported method CoinbasePro.GetUserByID should have comment or be unexported (revive)
|
lint:
exchanges/coinbasepro/coinbasepro.go#L1529
exported: exported method UnixTimestamp.UnmarshalJSON should have comment or be unexported (revive)
|