chat/.gitignore

218 lines
2.7 KiB
Plaintext

# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
*.out
chat
chat-api
# Go workspace file
go.work
# Go build cache
.cache/
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool
*.out
coverage.txt
coverage.html
# Dependency directories
vendor/
# Go module cache
go.sum
# IDE - VSCode
.vscode/
*.code-workspace
# IDE - GoLand / IntelliJ IDEA
.idea/
*.iml
*.iws
*.ipr
# IDE - Vim
*.swp
*.swo
*~
.vim/
# IDE - Emacs
*~
\#*\#
.\#*
# OS - macOS
.DS_Store
.AppleDouble
.LSOverride
._*
# OS - Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.lnk
# OS - Linux
*~
.directory
.Trash-*
# Logs
*.log
logs/
*.log.*
# Environment variables
.env
.env.local
.env.*.local
# Configuration files with sensitive data
# 注意:如果配置文件包含敏感信息,應該使用環境變量或配置模板
# etc/*.yaml # 如果包含敏感信息,取消註釋這行
# Temporary files
tmp/
temp/
*.tmp
*.bak
*.swp
*.swo
# Frontend
frontend/node_modules/
frontend/.next/
frontend/.nuxt/
frontend/dist/
frontend/build/
frontend/.cache/
frontend/.parcel-cache/
frontend/.vite/
frontend/.svelte-kit/
frontend/.pnpm-store/
# Frontend package manager files
frontend/package-lock.json
frontend/yarn.lock
frontend/pnpm-lock.yaml
# Frontend environment
frontend/.env
frontend/.env.local
frontend/.env.*.local
# Docker
docker-compose.override.yaml
.dockerignore
# Database
*.db
*.sqlite
*.sqlite3
# Redis dump
dump.rdb
# Cassandra
*.cql
data/
# Deployment
deployment/*.log
deployment/data/
deployment/volumes/
# Generated files
*.pb.go
*.pb.gw.go
*.swagger.json
*.swagger.yaml
# go-zero generated files (if you want to ignore them)
# internal/handler/chat/*.go # 如果不想提交自動生成的文件,取消註釋
# internal/logic/chat/*.go # 如果不想提交自動生成的文件,取消註釋
# internal/types/types.go # 如果不想提交自動生成的文件,取消註釋
# Keep generated files but ignore specific patterns
# internal/handler/chat/*handler.go # 只忽略 handler
# internal/logic/chat/*logic.go # 只忽略 logic
# Build artifacts
bin/
build/
out/
# Profiling data
*.prof
*.pprof
# Local development
.local/
local/
# Secrets and keys
*.pem
*.key
*.crt
*.p12
*.pfx
secrets/
*.secret
# Backup files
*.backup
*.old
# JetBrains IDEs
.idea/
*.iml
*.iws
*.ipr
# VS Code
.vscode/
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# Sublime Text
*.sublime-project
*.sublime-workspace
# Vim
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
Session.vim
.netrwhist
*~
# Emacs
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*
# Project specific
chat.json
*.json.bak