fix golint errors

This commit is contained in:
2026-02-12 18:00:32 +03:00
parent a058b622e3
commit ccabeee1f1
10 changed files with 74 additions and 28 deletions
+34
View File
@@ -0,0 +1,34 @@
linters:
enable:
- bodyclose
- errcheck
- errorlint
- goconst
- gocritic
- gofmt
- gosec
- gosimple
- govet
- ineffassign
- misspell
- noctx
- prealloc
- revive
- staticcheck
- typecheck
- unconvert
- unparam
- unused
- wastedassign
linters-settings:
gocritic:
enabled-tags:
- diagnostic
- style
- performance
revive:
rules:
- name: blank-imports
- name: exported
disabled: true