testutil

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupNumpool

func CleanupNumpool(pool *pgxpool.Pool) func()

func DBExists

func DBExists(t *testing.T, pool *pgxpool.Pool, dbName string) bool

func GetTestDBPool

func GetTestDBPool(t *testing.T) *pgxpool.Pool

GetTestDBPool returns a pgxpool.Pool for testing. It uses environment variables for configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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