go-base-ddd

module
v0.0.0-...-ee0a0c7 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2024 License: MIT

README

Fundamental DDD elements in Golang

Fundamental elements of DDD implementation in Golang microservice

Components

Application Layer

  • DTOs, Mapper & Presenter
  • Request handlers
  • Event handlers
  • Message Publisher

Domain Layer

Entity
  • Mutable, has identity
Value Object
  • Immutable, no identity
Domain Event
  • Utility for communication between bounded contexts, sub-domains, and between microservices

Persistence Layer

  • Data Model
  • Repository

Directories

Path Synopsis
domain

Jump to

Keyboard shortcuts

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