package
Version:
v0.0.0-...-97167ef
Opens a new window with list of versions in this module.
Published: Feb 10, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Migrate performs PostgreSQL migrations from the migrations/ directory, using
the provided connection string
type DB struct {
Sqlx *sqlx.DB
}
DB is a struct containing the Sqlx connection instance.
New creates a new database connection using the supplied PostgreSQL
connection string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.