[#121] .golangci.yml: Replace exportloopref with copyloopvar
All checks were successful
Tests and linters / Lint (pull_request) Successful in 49s
DCO action / DCO (pull_request) Successful in 1m16s
Tests and linters / Tests (pull_request) Successful in 1m17s
Tests and linters / Tests with -race (pull_request) Successful in 1m17s

Fix linter warning:
```
WARN The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar.
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-10-02 09:47:08 +03:00
parent d9a604fbc1
commit 646f374171

View file

@ -50,7 +50,7 @@ linters:
- bidichk
- durationcheck
- exhaustive
- exportloopref
- copyloopvar
- gofmt
- goimports
- misspell