新增: - docs/PROJECT_STRUCTURE.md - 完整目录结构规范 - data/.gitkeep, logs/.gitkeep, testdata/.gitkeep, uploads/avatars/.gitkeep 更新: - .gitignore 添加临时文件规则 (*_result.txt, *_test*.txt 等) - .gitignore 添加 uploads/avatars/ 内容忽略规则
78 lines
811 B
Plaintext
78 lines
811 B
Plaintext
# Binaries
|
|
bin/
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Test binary, built with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool
|
|
*.out
|
|
|
|
# Dependency directories
|
|
vendor/
|
|
|
|
# Go workspace file
|
|
go.work
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Build
|
|
build/
|
|
dist/
|
|
|
|
# Database
|
|
data/*.db
|
|
data/*.db-shm
|
|
data/*.db-wal
|
|
data/jwt/*.pem
|
|
|
|
# Logs
|
|
logs/*.log
|
|
*.log
|
|
|
|
# Local caches and temp artifacts
|
|
.cache/
|
|
.tmp/
|
|
.gocache/
|
|
.gomodcache/
|
|
frontend/admin/.cache/
|
|
frontend/admin/playwright-report/
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
|
|
# Node modules
|
|
node_modules/
|
|
|
|
# NPM cache
|
|
frontend/admin/.npm-cache/
|
|
|
|
# Temporary output files
|
|
*_result.txt
|
|
*_test*.txt
|
|
*_output.txt
|
|
*_err.txt
|
|
*.tmp
|
|
*.temp
|
|
|
|
# Uploads (keep directory but ignore contents)
|
|
uploads/avatars/*
|
|
!uploads/avatars/.gitkeep
|
|
|
|
# Backup temp
|
|
backup_temp/
|