go-domain-events
CommunityGo Domain Events: publish idempotent events.
Authorvincent119
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Go Domain Events provides a structured approach to defining and publishing domain events in Go, enabling decoupled business logic, reliable messaging, and observable workflows.
Core Features & Use Cases
- Domain Event definitions with a BaseEvent and concrete events (e.g. UserCreated, OrderPlaced).
- In-memory Event Bus for multi-handler subscriptions and synchronous publishing.
- Outbox pattern to persist events within a transaction for reliable delivery.
- Idempotency guarantees with processed events tracking to avoid duplicate handling.
- Event Sourcing basics with an append-only event store and replay capability.
Quick Start
Initialize domain events in a Go project and implement an outbox-based, idempotent event publishing flow.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: go-domain-events Download link: https://github.com/vincent119/ai-rules-kit/archive/main.zip#go-domain-events Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.