package
0.8.1
Repository: https://github.com/maxbreida/eventhorizon.git
Documentation: pkg.go.dev

# Functions

NewRepo creates a new Repo.
NewRepoWithClient creates a new Repo with a client.
Repository returns a parent ReadRepo if there is one.

# Variables

ErrCouldNotClearDB is when the database could not be cleared.
ErrCouldNotDialDB is when the database could not be dialed.
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

Repo implements an MongoDB repository for entities.