Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoDB = errors.Validation.NewWithKeyAndDetail("ERR_NO_DB", "no db")
)
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB is a local interface that lets us narrow down a database type for testing.
func OpenDBConnection ¶
func OpenDBConnection(opts DBConnectionOpts) (DB, error)
type DBConnectionOpts ¶
Click to show internal directories.
Click to hide internal directories.