package
0.0.66
Repository: https://github.com/tozny/utils-go.git
Documentation: pkg.go.dev

# Functions

New returns a new DB object which wraps a connection to the database specified in config.
RunMigrations is an initialization function for a DB which attempts to run migrations once a second in a loop until they run successfully.

# Variables

ErrorNoRows should be returned whenever no rows were found for the given query.

# Structs

DB wraps a client for a database.
DBConfig wraps config for connecting to a database.