Documentation
¶
Overview ¶
Package testdb provides fresh PostgreSQL test databases on the server GOPHENBERG_TEST_DATABASE_URL names.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsServer ¶ added in v0.20.0
AsServer returns address connecting as the role the test server itself is reached as.
func Migrator ¶
Migrator returns a pgtestdb migrator that applies the authkit migrations and then the core ones.
func New ¶ added in v0.19.0
New returns the address of a fresh database that migrator builds on the test server, after a sweep of stale ones.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.