add goconst. maybe some improvements needed

This commit is contained in:
skeris 2024-12-07 15:20:18 +03:00
parent b4bda04c14
commit 9332073747

@ -17,8 +17,17 @@ linters:
enable:
- errcheck
- govet
- goconst
linters-settings:
goconst:
min-len: 2
min-occurrences: 2
ignore-tests: true
numbers: true
min: 2
max: 1000000
ignore-calls: false
errcheck:
exclude-functions:
- (io.Closer).Close