This commit is contained in:
fish
2025-10-03 16:37:03 +08:00
commit 5cc8617709
3 changed files with 53 additions and 0 deletions

52
.gitignore vendored Normal file
View File

@@ -0,0 +1,52 @@
# 编译产物
*.o
*.a
*.so
*.exe
*.dll
*.dylib
# Go 编译生成的中间文件和二进制文件
__debug_bin
go.mod.sum
go.sum
*.test
*.out
# 模块缓存
go/pkg/
# 构建目录(常用于存放编译后的二进制文件)
bin/
build/
dist/
# 临时文件目录
tmp/
temp/
# 日志文件
*.log
logs/
# IDE 和编辑器配置
.idea/ # JetBrains 系列GoLand、IntelliJ 等)
.vscode/ # VS Code
*.swp # Vim 交换文件
*.swo # Vim 交换文件
.DS_Store # macOS 系统文件
Thumbs.db # Windows 系统文件
# 测试相关
coverage.out # 测试覆盖率文件
testdata/ # 测试数据(如果不需要提交)
# 依赖管理工具生成的文件
vendor/ # 旧版依赖管理Go Modules 时代可不提交)
Gopkg.lock # dep 工具
Gopkg.toml # dep 工具
# 其他临时文件
*.bak
*.tmp
*~