Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDBDriver ¶
MongoDBDriver is responsible for providing a mongo client driver
func (*MongoDBDriver) GetDocByID ¶
func (driver *MongoDBDriver) GetDocByID(hexID string, collection string) (interface{}, error)
GetDocByID is responsible for obtaining a single document from the database by _id
Click to show internal directories.
Click to hide internal directories.