# Functions
NewEventStore creates a new EventStore...
NewEventStoreWithClient creates a new EventStore with a client.
No description provided by the author
No description provided by the author
WithEventHandler adds an event handler that will be called when saving events.
# Variables
ErrCouldNotClearDB is when the database could not be cleared.
ErrCouldNotDialDB is when the database could not be dialed.
No description provided by the author
ErrInvalidQuery is when a query was not returned from the callback to FindCustom.
ErrModelNotSet is when an model factory is not set on the Repo.
ErrNoDBClient is when no database client is set.
# Structs
EventStore implements an eventhorizon.EventStore for MongoDB using a single collection with one document per aggregate/stream which holds its events as values.
Repo implements a PostgreSQL repo for entities.
# Type aliases
Option is an option setter used to configure creation.