chore(ci): add linter the check go code style (#991)

* feat(ci): auto format go code

* fix: fix #997

* chore(ci): add go code style linter

* fix: fix cmd error

* chore: add `linter` of needs

* chore: modiy commnet style
This commit is contained in:
q1anx1
2022-08-13 10:57:13 +08:00
committed by GitHub
parent a741c5179a
commit 108fdc174f
4 changed files with 27 additions and 6 deletions

View File

@ -31,7 +31,7 @@ run:
- api
# skip-files:
# - ".*_test\\.go$"
modules-download-mode: vendor
modules-download-mode: mod
# all available settings of specific linters
linters-settings:
lll: