mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
linters: Bump golangci-lint version to v1.52.2 and fix issues (#1169)
* fix linter issues * linter issue suppressing and fixing * change linter version and linter issues fix * Bump version
This commit is contained in:
@@ -99,6 +99,7 @@ func TestAudit(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
//nolint:gocritic // Only used as a testing helper function in this package
|
||||
func writeAudit(t *testing.T) {
|
||||
t.Helper()
|
||||
var wg sync.WaitGroup
|
||||
@@ -116,6 +117,7 @@ func writeAudit(t *testing.T) {
|
||||
wg.Wait()
|
||||
}
|
||||
|
||||
//nolint:gocritic // Only used as a testing helper function in this package
|
||||
func readHelper(t *testing.T) {
|
||||
t.Helper()
|
||||
|
||||
|
||||
@@ -153,6 +153,8 @@ func seedWithdrawData() {
|
||||
Event(resp)
|
||||
}
|
||||
}
|
||||
|
||||
//nolint:gocritic // Only used as a testing helper function in this package
|
||||
func withdrawHelper(t *testing.T) {
|
||||
t.Helper()
|
||||
seedWithdrawData()
|
||||
|
||||
Reference in New Issue
Block a user