Lint: fix lint (#1427)

* Lint: replace golint with revive
* Lint: fix lint
This commit is contained in:
Loyalsoldier
2021-11-27 17:16:41 +08:00
committed by GitHub
parent 43447aa2e4
commit dce8764fd7
72 changed files with 346 additions and 368 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ issues:
new: true
exclude-rules:
- linters:
- staticcheck
- staticcheck
text: "SA1019:"
linters:
@@ -19,13 +19,13 @@ linters:
- gofmt
- gofumpt
- goimports
- golint
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- revive
- rowserrcheck
- staticcheck
- structcheck