CI/build: Update Go version, linters and fix minor issues (#1473)

* CI/build: Update Go version, linters and fix minor issues

* Bump golangci-lint to v1.56.1

* BinanceUS: Make uint usage consistent

* Throw blank identifiers into the trash
This commit is contained in:
Adrian Gallagher
2024-02-14 11:02:06 +11:00
committed by GitHub
parent 9ff502bac2
commit 08da42ddb7
79 changed files with 364 additions and 374 deletions

View File

@@ -142,7 +142,7 @@ func TestGetAccountTradingFee(t *testing.T) {
assert.Positive(t, fee.Fees.Taker, "Taker should be positive")
}
assert.NotEmpty(t, fee.Symbol, "Symbol should not be empty")
assert.Equal(t, fee.Symbol, "ltcbtc", "Symbol should be correct")
assert.Equal(t, "ltcbtc", fee.Symbol, "Symbol should be correct")
}
_, err = b.GetAccountTradingFee(context.Background(), currency.EMPTYPAIR)