保留最新代码,清除历史记录

This commit is contained in:
vipg
2025-10-09 18:19:57 +08:00
commit b44e40f25d
77 changed files with 4115 additions and 0 deletions

56
.gitignore vendored Normal file
View File

@@ -0,0 +1,56 @@
# 编译产物
*.o
*.a
*.so
*.exe
*.dll
*.dylib
# Go 编译生成的中间文件和二进制文件
__debug_bin
go.mod.sum
*.test
*.out
# 模块缓存
go/pkg/
# 构建目录(常用于存放编译后的二进制文件)
bin/
build/
dist/
deploy/images
deploy/shared_data
# 临时文件目录
tmp/
temp/
shared_data/
# 日志文件
*.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
*~
.DS_Store
.DS_Store