Versions in this module Expand all Collapse all v1 v1.0.1 Oct 19, 2020 Changes in this version type TestDB + func (t *TestDB) Close() error v1.0.0 Oct 18, 2020 Changes in this version + type Config struct + Database string + Host string + Options map[string]string + Password string + Port int + User string + type Options func(*TestDB) error + func WithMigrate(migrationPath string) Options + type TestDB struct + func New(cfg Config, options ...Options) (*TestDB, error) + func (t *TestDB) MigrateDown(migrationPath string) error + func (t *TestDB) NewSession() error + func (t *TestDB) Teardown() error