Go web framework with domain-driven architecture. Module: github.com/platforma-dev/platforma
- Go 1.25.0 required
- Task runner:
task lint,task test,task check - PostgreSQL driver:
lib/pq(not pgx)
platforma/
├── application/ # Core lifecycle: Application, Domain interface
├── auth/ # Auth domain (see auth/AGENTS.md)
├── session/ # Session domain
├── httpserver/ # HTTP server with middleware
├── database/ # PostgreSQL with sqlx, migrations
├── queue/ # Job processor
├── scheduler/ # Periodic tasks
├── log/ # Structured logging
└── demo-app/ # Examples (excluded from linting)
- No testify - use standard library assertions
- No external mocking libraries - hand-roll mocks per test
- No global state - except
log.Logger - No init functions -
gochecknoinitsenforced
- Go Conventions - JSON tags, error handling, interfaces, domains
- Testing - Test patterns, mocking, integration tests
- Linting - Strict linter rules and rationale
- Architecture - Domain patterns, task-to-file mapping