# =========================
# Go
# =========================
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
*.out
coverage.txt
coverage.html
/vendor/

# 專案編譯產物（根目錄 binary 名稱與 module 相同時）
/gateway

# k6 / dev binary 產物
/bin/

# =========================
# go-doc / 工具 binary
# =========================
generate/doc-generate/bin/

# =========================
# OpenAPI 產物（make gen-doc）
# 若要把 gateway.yaml 提交給前端，請註解下面這段
# =========================
docs/openapi/*.yaml
docs/openapi/*.json
!docs/openapi/.gitkeep

# =========================
# 設定與機密（勿提交真實密鑰）
# =========================
.env
.env.*
!.env.example
# 本機開發設定（含 Port、DB、provider 帳密等，勿提交）
etc/gateway.dev.yaml
etc/gateway.private.yaml
etc/*-local.yaml
etc/*.local.yaml
# 可提交的範例檔
!etc/gateway.dev.example.yaml

# =========================
# IDE / 編輯器
# =========================
.idea/
.vscode/
*.swp
*.swo
*~
.cursor/

# =========================
# 作業系統
# =========================
.DS_Store
.AppleDouble
.LSOverride
Thumbs.db
ehthumbs.db
Desktop.ini

# =========================
# 日誌與暫存
# =========================
*.log
logs/
tmp/
temp/

# =========================
# Go workspace（本機多模組開發用）
# =========================
# E2E 產物（make e2e-full / e2e-up 生成）
test/e2e/fixtures/state.json
test/e2e/fixtures/gateway.pid
.cache/
