增加.gitignore文件

This commit is contained in:
2026-07-28 15:12:48 +08:00
parent 786f11a2ca
commit 98161a2fe8
3 changed files with 46 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
# 编译产物
*.exe
*.exe~
*.dll
*.so
*.dylib
goblog
# 调试文件
__debug_bin*
*.test
*.out
# SQLite 数据库文件
*.db
*.db-journal
*.sqlite
*.sqlite3
# 用户上传的文件
static/uploads/*
!static/uploads/.gitkeep
# IDE / 编辑器
.idea/
.vscode/
*.swp
*.swo
# Qoder
.qoder/
# 操作系统
.DS_Store
Thumbs.db
# 环境变量与本地配置
.env
.env.local
# Go 工作区文件
go.work
go.work.sum
# vendor 目录(如使用 go mod 则无需提交)
vendor/