# Functions
IntoRepo tries to convert a eh.ReadRepo into a Repo by recursively looking at inner repos.
NewMongoDBRepo creates a new Repo using the eventhorizon.MongoDB interface.
NewRepo creates a new Repo.
NewRepoWithClient creates a new Repo with a client.
WithCollectionName uses different collections from the default "repository" collection.
WithConnectionCheck adds an optional DB connection check when calling New().
# Variables
ErrModelNotSet is when a model factory is not set on the Repo.
ErrNoCursor is when a provided callback function returns a nil cursor.
# Type aliases
Option is an option setter used to configure creation.