# 构建只需要 Go 源码（cmd / internal / pkg / migrations / go.mod / go.sum）
# 以下均为运行时产物、二进制、密钥与文档，排除后可把构建上下文从 ~1GB 降到几 MB

# 运行时上传文件与临时目录（最大头，~980MB）
tmp/
data/

# 编译产物
bin/
api
*.exe

# 日志
logs/
*.log

# 本地缓存
.git-cache/

# 密钥与环境文件（避免打进构建上下文）
.env
.env.*

# 文档与脚本（构建不需要）
docs/
scripts/
*.md

# 其它
.DS_Store
Dockerfile
.dockerignore
