ci: add golangci-lint config and fix formatting
- Add .golangci.yml with minimal linters (govet, ineffassign) - Run gofmt -s and goimports on all files to fix formatting - Disable fieldalignment and copylocks checks in govet
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// go:build !linux
|
||||
//go:build !linux
|
||||
// +build !linux
|
||||
|
||||
package security
|
||||
|
||||
Reference in New Issue
Block a user