Refactor api

This commit is contained in:
世界 2022-08-14 11:52:38 +08:00
parent d378b6ca53
commit b828f01643
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
15 changed files with 357 additions and 138 deletions

View file

@ -3,14 +3,14 @@ linters:
enable:
- gofumpt
- govet
- gci
# - gci
- staticcheck
linters-settings:
gci:
sections:
- standard
- prefix(github.com/sagernet/sing)
- default
# gci:
# sections:
# - standard
# - prefix(github.com/sagernet/sing)
# - default
staticcheck:
go: '1.18'
go: '1.19'