- 使用 fmt.Fprintf 替代冗余的 WriteString(fmt.Sprintf) 组合 - 测试中 nil 检查使用 t.Fatal 替代 t.Error 立即终止 - .gitignore 添加 html/ 目录忽略 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
64 lines
646 B
Plaintext
64 lines
646 B
Plaintext
# Binaries for programs and plugins
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Test binary, built with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool
|
|
*.out
|
|
|
|
# Go workspace file
|
|
go.work
|
|
go.work.sum
|
|
|
|
# Dependency directories
|
|
vendor/
|
|
|
|
# Build artifacts
|
|
/bin/
|
|
/dist/
|
|
|
|
# IDE and editor files
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS generated files
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
|
|
# Environment files
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Log files
|
|
*.log
|
|
logs/
|
|
|
|
# Temporary files
|
|
tmp/
|
|
temp/
|
|
|
|
# oh-my-claudecode state directory
|
|
.omc/
|
|
|
|
# Claude Code files
|
|
.claude/
|
|
CLAUDE.md
|
|
lolly.yaml
|
|
config.yaml
|
|
lolly
|
|
coverage.html
|
|
html/ |