testlib

package
v0.0.0-...-b066fa0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CTX      context.Context
	ECTX     context.Context // allways errors
	ConnPool *pgxpool.Pool
	ConnDSN  = "user=pbpgx_tester host=db port=5432 dbname=pbpgx_tester sslmode=disable pool_max_conns=10"
)

Functions

func TestMain

func TestMain(m *testing.M) int

testMain is a wrapper which allows defered statements to run before os.Exit is called.

Types

This section is empty.

Jump to

Keyboard shortcuts

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