Documentation ¶ Index ¶ func Config(t *test.Test) dbx.Config type TestDb func New(t *test.Test, opts ...dbx.Option) *TestDb func (db *TestDb) Close() error func (db *TestDb) DB() (*dbx.Client, error) func (db *TestDb) Must() must func (db *TestDb) Schema() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Config ¶ added in v1.42.0 func Config(t *test.Test) dbx.Config Types ¶ type TestDb ¶ type TestDb struct { *dbx.Client // contains filtered or unexported fields } func New ¶ func New(t *test.Test, opts ...dbx.Option) *TestDb func (*TestDb) Close ¶ func (db *TestDb) Close() error func (*TestDb) DB ¶ func (db *TestDb) DB() (*dbx.Client, error) func (*TestDb) Must ¶ func (db *TestDb) Must() must func (*TestDb) Schema ¶ func (db *TestDb) Schema() string Source Files ¶ View all Source files test_db.go Click to show internal directories. Click to hide internal directories.