Categorygithub.com/paulvitic/ddd-go
modulepackage
0.0.0-20241008120514-f7d5f66f1ac0
Repository: https://github.com/paulvitic/ddd-go.git
Documentation: pkg.go.dev

# README

ddd-go

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewAggregate creates a new Aggregate instance.
No description provided by the author
No description provided by the author
No description provided by the author
NewEntity creates a new Entity instance.
No description provided by the author
No description provided by the author
NewID creates a new ID instance with the provided value.
goland:noinspection GoUnusedExportedFunction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewServiceBus creates a new service serviceBus.
NewValue creates a new Value with the given value.
No description provided by the author
No description provided by the author

# Structs

InMemoryEventLog is an in-memory implementation of EventLog for testing purposes.
ValueBase represents a value object with frozen properties.

# Interfaces

Aggregate represents an aggregate root entity with event management functionalities.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Policy receives a domain event and returns a command.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServiceBus is the definition of how command should be handled.
No description provided by the author
View is a read-only projection of the domain state.

# Type aliases

No description provided by the author
No description provided by the author
HandlerFunc defines a function to execute the command executor.
No description provided by the author
MiddlewareFunc defines a function to process middleware.
No description provided by the author