diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d394c5 --- /dev/null +++ b/.gitignore @@ -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/ diff --git a/goblog.db b/goblog.db index f6c3ad9..6a6d34d 100644 Binary files a/goblog.db and b/goblog.db differ diff --git a/static/uploads/.gitkeep b/static/uploads/.gitkeep new file mode 100644 index 0000000..e69de29