package
0.3.0-prerelease.4
Repository: https://github.com/get-eventually/go-eventually.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AggregateRepositorySuite returns an executable testing suite running on the agfgregate.Repository value provided in input.
Create creates a new User using the provided input.
EventStoreSuite returns an executable testing suite running on the event.Store value provided in input.
NewGetByEmailHandler creates a new GetByEmailHandler instance.

# Variables

All the errors returned by User methods.
All the errors returned by User methods.
All the errors returned by User methods.
All the errors returned by User methods.
ErrNotFound is returned by a Query when a specific User has not been found.
EventProtoSerde is the serde.Serde implementation for User domain events to map to their Protobuf type, defined in the proto/ folder.
ProtoSerde is the serde.Serde implementation for a User to map to its Protobuf type, defined in the proto/ folder.
Type is the User aggregate type.

# Structs

CreateCommand is a domain command that can be used to create a new User.
CreateCommandHandler is the command handler for CreateCommand domain commands.
EmailWasUpdated is the domain event fired after a User email is updated.
Event represents a Domain Event for a User resource.
GetByEmailHandler is a stateful Query Handler that maintains a list of Users indexed by their email.
User is a naive user implementation, modeled as an Aggregate using go-eventually's API.
View is a public-facing representation of a User entity.
WasCreated is the domain event fired after a User is created.

# Type aliases

GetByEmail is a Domain Query that can be used to fetch a specific User given its email.