package
Version:
v1.10.2
Opens a new window with list of versions in this module.
Published: Mar 13, 2018
License: MIT
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
¶
type Database struct {
DB *pg.DB
}
Database for tests
GetTestDB creates connection to PostgreSQL.
Options used from ENV:
- TEST_DATABASE_ADDR
- TEST_DATABASE_USER
- TEST_DATABASE_DATABASE
- TEST_DATABASE_PASSWORD
Source Files
¶
Click to show internal directories.
Click to hide internal directories.