Init commit

This commit is contained in:
世界 2023-02-20 11:39:15 +08:00
commit a42f217515
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
6 changed files with 68 additions and 0 deletions

22
.golangci.yml Normal file
View file

@ -0,0 +1,22 @@
linters:
disable-all: true
enable:
- gofumpt
- govet
- gci
- staticcheck
run:
skip-dirs:
- tls
- tls_compact
linters-settings:
gci:
custom-order: true
sections:
- standard
- prefix(github.com/sagernet/)
- default
staticcheck:
go: '1.20'