chore: 初始化仓库,排除二进制文件和覆盖率文件
This commit is contained in:
107
.gitignore
vendored
Normal file
107
.gitignore
vendored
Normal file
@@ -0,0 +1,107 @@
|
||||
# Binaries for programs and plugins
|
||||
*.exe
|
||||
*.exe~
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
|
||||
# Test binary, built with `go test -c`
|
||||
*.test
|
||||
|
||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||
*.out
|
||||
|
||||
# Dependency directories (remove the comment below to include it)
|
||||
# vendor/
|
||||
|
||||
# Go workspace file
|
||||
go.work
|
||||
|
||||
# Build directories
|
||||
bin/
|
||||
dist/
|
||||
build/
|
||||
|
||||
# Compiled binaries
|
||||
server
|
||||
|
||||
# IDE files
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# OS generated files
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
|
||||
# Log files
|
||||
*.log
|
||||
logs/
|
||||
log/
|
||||
|
||||
# Configuration files (keep examples)
|
||||
configs/config.yaml
|
||||
!configs/config.yaml.example
|
||||
!configs/casbin/
|
||||
|
||||
# Environment files
|
||||
.env
|
||||
.env.local
|
||||
.env.development
|
||||
.env.test
|
||||
.env.production
|
||||
|
||||
# Keep example files
|
||||
!.env.example
|
||||
|
||||
# Database files
|
||||
*.db
|
||||
*.sqlite
|
||||
*.sqlite3
|
||||
|
||||
# Backup files
|
||||
*.bak
|
||||
*.backup
|
||||
|
||||
# Temporary files
|
||||
tmp/
|
||||
temp/
|
||||
.tmp/
|
||||
|
||||
# Coverage files
|
||||
coverage.out
|
||||
coverage.html
|
||||
|
||||
# Air live reload
|
||||
.air.toml
|
||||
tmp/
|
||||
|
||||
# Testing
|
||||
test_results/
|
||||
test_coverage/
|
||||
|
||||
# Documentation generation
|
||||
api/swagger/docs.go
|
||||
api/swagger/*.json
|
||||
api/swagger/*.yaml
|
||||
|
||||
# Docker volumes
|
||||
docker/data/
|
||||
docker/logs/
|
||||
|
||||
# MinIO data
|
||||
minio-data/
|
||||
|
||||
# Compiled protobuf files
|
||||
*.pb.go
|
||||
|
||||
# Local development files
|
||||
local/
|
||||
dev/
|
||||
Reference in New Issue
Block a user