feat: golangci add goimports and whitespace (#5835)

This commit is contained in:
jessetang 2022-11-05 08:37:37 +08:00 committed by GitHub
parent f82e9cfdbe
commit 5c8ecc3a2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -9,3 +9,12 @@ linters:
- prealloc
- unconvert
- unparam
- goimports
- whitespace
linters-settings:
whitespace:
multi-func: true
goimports:
local-prefixes: gorm.io/gorm