Documentation
¶
Overview ¶
Package main demonstrates Phase 2 CQRS & Command Bus features with PostgreSQL.
This example shows:
- PostgreSQL event store adapter
- PostgreSQL idempotency store
- Command bus with full middleware pipeline
- Type-safe command handlers
- Correlation/Causation ID tracking
Prerequisites (from project root):
docker compose -f docker-compose.test.yml up -d --wait
Run:
cd examples/cqrs-postgres go run main.go
Cleanup:
docker compose -f docker-compose.test.yml down
Click to show internal directories.
Click to hide internal directories.