package
0.4.1-beta
Repository: https://github.com/tikivn/eventhorizon.git
Documentation: pkg.go.dev

# Functions

NewRepo creates a new Repo.
NewRepoWithSession creates a new Repo with a session.
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.
ErrNoDBSession is when no database session is set.

# Structs

Repo implements an MongoDB repository for entities.