Versions in this module Expand all Collapse all v0 v0.0.4 Dec 16, 2020 Changes in this version + func DropTablesMysql(db *sqlx.DB) error + func DropTablesPostgres(db *sqlx.DB) error + func InitDB() (*sqlx.DB, *config.Database, goqu.DialectWrapper, string, func()) + func InitDBUp() (*sqlx.DB, goqu.DialectWrapper, string, func()) + func LoadTestDbConfig() (*config.Database, error) + func LoadTestTimeZone() (*time.Location, error) + func MustLoadTestTimeZone() *time.Location + type DB struct + func ClaimNextDB() *DB + type DbConfig struct + DatabaseFmt string + Driver string + Host string + NumDbs int + Password string + Port int + Username string