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,3 +1,4 @@
|
||||
//go:build netbsd
|
||||
// +build netbsd
|
||||
|
||||
package restore
|
||||
|
||||
Reference in New Issue
Block a user