DDD in Go

Community

Master DDD patterns in Go for resilient apps.

Authormthang1801
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Domain-Driven Design helps manage complex business logic in Go applications by structuring code around domain concepts, improving maintainability and scalability.

Core Features & Use Cases

  • Base aggregates and entities to enforce invariants and provide a consistent lifecycle.
  • Domain events and event bus to communicate state changes across boundaries.
  • Repositories & CQRS patterns to separate read/write concerns and persist domain models.
  • Saga and orchestration for long-running workflows across services.
  • Use cases include modeling users, inventory, and events in a Go microservice.

Quick Start

Define domain models and implement an event-driven repository to persist aggregates.

Dependency Matrix

Required Modules

None required

Components

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: DDD in Go
Download link: https://github.com/mthang1801/go-domain-driven-design/archive/main.zip#ddd-in-go

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.