Documentation
¶
Overview ¶
Package db creates a connection to the database and enables common tasks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddApplication ¶
AddApplication adds an application string to a database connection URL
func Connect ¶
Connect returns a pool of connection to the database, which is conncurrency safe. Uses the pgx interface.
func MigrateDown ¶
MigrateDown resets the database back to a blank state. USE WITH CAUTION: THis will result in data loss.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.