Initial commit

This commit is contained in:
2026-02-12 14:31:30 +08:00
commit e01cdc9889
25 changed files with 3227 additions and 0 deletions

25
.golangci.yml Normal file
View File

@@ -0,0 +1,25 @@
# golangci-lint 配置文件
linters-settings:
errcheck:
check-type-assertions: true
goimports:
local-prefixes: github.com/beifan/trace-backend
govet:
check-shadowing: true
misspell:
locale: US
linters:
disable-all: true
enable:
- errcheck
- goimports
- govet
- misspell
- revive
- typecheck
run:
skip-dirs:
- testdata
timeout: 5m