# 忽略 config 目录及其所有内容
config/

# ============ Golang 特定忽略规则 ============
# 二进制可执行文件 (替换 <your-project-name> 为实际名称)
<your-project-name>
<your-project-name>.exe

# 编译后的二进制文件
/bin/
/exe/

# 依赖目录 (Go 1.11+ 的模块缓存)
/vendor/

# Go 测试输出
*.test
*.out
*.prof

# 依赖下载目录
/pkg/

# Go 工作空间文件
go.work
go.work.sum

# ============ 通用开发环境忽略规则 ============
# 操作系统文件
.DS_Store
Thumbs.db

# 编辑器/IDE 文件
.idea/
.vscode/
*.swp
*.swo
*~
~$*

# 临时文件
*.tmp
*.bak
*.log

# 环境变量文件
.env
.env.local
.env.*.local

# 构建输出目录
/dist/
/build/
/out/

# 覆盖率报告
coverage.txt
coverage.html
/cover/