Documentation
¶
Overview ¶
Package dbtest provides test helpers for spinning up a Postgres container.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Migrate ¶
Migrate runs the embedded OSS migrations against connStr and returns any error. If vectorEnabled is true the vector pass is also applied. Use MigrateT in tests that have a *testing.T; use Migrate in TestMain where no T is available.
func MigrateT ¶
MigrateT runs the embedded OSS migrations against connStr and calls t.Fatal on error. If vectorEnabled is true the vector pass is also applied.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.