# Packages
No description provided by the author
# Functions
Bootstrap initializes this module with ContextIn and exports resulting ContextOut.
CreateOne new row in DB.
DeleteOne row in DB.
LookupOne row in DB.
NewBadRequestError from detail.
NewForbiddenError from detail.
NewGenericError from detail.
NewNotFoundError from detail.
UpdateOne row in DB.
WrapError (raw nullable errors) into db.Error.
# Variables
BadRequest - errors where input criteria is invalid.
Forbidden - errors where operation is forbidden.
GenericError - uncategorized errors.
NotFound - errors where provided ID does not exist.
# Structs
ContextIn describes dependecies needed by this package.
ContextOut describes dependencies exported by this package.
# Interfaces
Connection abstracts out the relevant operations common to sql.DB and sql.Tx into a base interface.
Database should be used as the highest level abstraction of the database.
Error creates Database specific errors.