cqrs-postgres

command
v1.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL