Files
dance-lessons-coach/.gitignore
Gabriel Radureau 9855f521f3 Refactor server architecture: move internal logic to pkg/server package
- Simplify cmd/server/main.go from 158 to 57 lines (64% reduction)

- Move HTTP server creation, graceful shutdown, and context management to pkg/server

- Add Run() method to encapsulate server lifecycle management

- Maintain all existing functionality and OpenTelemetry integration

- Improve separation of concerns and code organization

This refactoring makes cmd/server/main.go a thin entrypoint while moving all server implementation details to the pkg/server package, following Go best practices for package organization.

Add server and greet binaries to .gitignore
2026-04-04 12:48:51 +02:00

24 lines
224 B
Plaintext

# Binaries
*.exe
*.test
*.out
server
greet
# Dependency directories
vendor/
# Go workspace file
go.work
# IDE specific files
.idea/
.vscode/
# macOS specific files
.DS_Store
# Server runtime files
server.log
server.pid