testdb

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminDSN

func AdminDSN() string

func MustExecGlobal

func MustExecGlobal(sql string, args ...any)

MustExecGlobal executes sql in the admin database.

func NewDBPGX

func NewDBPGX(t testing.TB, log *slog.Logger) (db *dbpgx.DB, dsn string)

NewDBPGX creates a new dbpgx-based test database for the given test.

Types

This section is empty.

Jump to

Keyboard shortcuts

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