This commit is contained in:
世界 2022-08-24 18:56:17 +08:00
parent b2bb9b3d2a
commit e5c59fc756
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
3 changed files with 31 additions and 16 deletions

View file

@ -5,4 +5,17 @@ fmt:
fmt_install:
go install -v mvdan.cc/gofumpt@latest
go install -v github.com/daixiang0/gci@v0.4.0
go install -v github.com/daixiang0/gci@v0.4.0
lint:
GOOS=linux golangci-lint run .
GOOS=android golangci-lint run .
GOOS=windows golangci-lint run .
GOOS=darwin golangci-lint run .
GOOS=freebsd golangci-lint run .
lint_install:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
test:
go test -v ./...