This commit is contained in:
世界 2023-02-09 21:14:09 +08:00
parent c28588d162
commit e6cec20420
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 9 additions and 8 deletions

View file

@ -1,11 +1,11 @@
fmt:
@gofumpt -l -w .
@gofmt -s -w .
@gci write -s "standard,prefix(github.com/sagernet/),default" .
@gci write --custom-order -s "standard,prefix(github.com/sagernet/),default" .
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@latest
lint:
GOOS=linux golangci-lint run ./...