- Migrate all log.Printf/log.Println calls to structured zap logging - Use cmp.Or for cleaner default value handling - Replace manual loops with slices.ContainsFunc/IndexFunc - Add batch query methods (IsLikedBatch, IsFavoritedBatch) to solve N+1 problem - Update JSON tags from omitempty to omitzero for numeric fields - Use errgroup-style wg.Go for worker goroutines - Remove duplicate casbin/v2 dependency (keeping v3) - Add plans/ to gitignore
19 lines
173 B
Plaintext
19 lines
173 B
Plaintext
# Build artifacts
|
|
/server
|
|
*.tar
|
|
|
|
# Runtime files
|
|
data/
|
|
logs/
|
|
*.log
|
|
|
|
# Local docker metadata
|
|
.last_docker_tag
|
|
.last_docker_tar
|
|
|
|
# Local environment files
|
|
.env
|
|
.env.*
|
|
|
|
|
|
plans/ |