feat: External liquidity integration #1136
lint.yml
on: pull_request
Run golangci-lint
50s
Run super-linter
1m 31s
Annotations
10 errors and 1 warning
Run golangci-lint:
usecase/calculate_external_liquidity.go#L30
if c { ... } else { ... return } can be simplified to if !c { ... return } ...
|
Run golangci-lint:
oracle/oracle_test.go#L72
parameter 'ammPools' seems to be unused, consider removing or renaming it as _
|
Run golangci-lint:
oracle/oracle_test.go#L73
parameter 'accountedPools' seems to be unused, consider removing or renaming it as _
|
Run golangci-lint:
oracle/oracle_test.go#L103
parameter 'ammPools' seems to be unused, consider removing or renaming it as _
|
Run golangci-lint:
oracle/oracle_test.go#L104
parameter 'accountedPools' seems to be unused, consider removing or renaming it as _
|
Run golangci-lint:
oracle/oracle_test.go#L71
receiver name p should be consistent with previous receiver name m for mockProvider
|
Run golangci-lint:
oracle/provider/coinex.go#L325
function 'GetAndSetCandle' seems to be a getter but it does not return any result
|
Run golangci-lint:
oracle/provider/bitget_test.go#L25
var instId should be instID
|
Run golangci-lint:
oracle/provider/gate.go#L222
omit unnecessary break at the end of case clause
|
Run golangci-lint
golangci-lint exit with code 7
|
Run golangci-lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|