package
0.0.0-20240901184222-2e825ae1ecd8
Repository: https://github.com/charlieegan3/toolbelt.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Create will attempt to create a new database with a given name.
Drop will terminate connections to the database and remove it.
Exists will return true if a database with the supplied name exists on the currently connected postgres instance.
Init takes the details from config and initializes a database connection, bootstrap can be set to overide the database name in the params to postgres when first connecting to the database server.
Ping calls db.Ping on the connection handle to test the connection, a simple wrapper.
Truncate the table with tableName.
# Structs
No description provided by the author