package
1.0.31
Repository: https://github.com/script-development/rt-cv.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewM returns a new instance of M.

# Structs

FindOptions are options for the find operator in Connection.
M is a struct that adds an _id field and implements from dbInterfaces.Entry: - GetID - SetID - DefaultFindFilters.

# Interfaces

Connection is a abstract interface for a database connection There are 2 main implementations of this: - MongoConnection (For the MongoDB driver) - TestConnection (For a fake temp database).
Entry
Entry are the functions required to put/get things in/from the database To implement use: type User struct { // Adds the _id field and implements the remaining functions from Entry M `bson:",inline"` Username string } func (*User) CollectionName() { return "users" }.