package
Version:
v0.0.0-...-1baf13c
Opens a new window with list of versions in this module.
Published: Jul 11, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetDSN builds a DSN url to connect to the database.
Migrate runs a migration based on the chosen driver, and the env variables below.
- PGUSER
- CRUSER
- PGPASSWORD
- CRPASSWORD
- PGPORT
- CRPORT
- DBNAME
All the env variables are optional, the correct values will be chosen automatically.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.