testdb

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

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 Migrator

func Migrator() pgtestdb.Migrator

Migrator returns a pgtestdb migrator that applies the authkit migrations and then the core ones.

func New added in v0.19.0

func New(t testing.TB, migrator pgtestdb.Migrator) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL