testutil

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustInitPgx

func MustInitPgx(t *testing.T, ctx context.Context, schema string) *pgx.Conn

MustInitPgx init pgx connection. Use a unique schema per module

func PgxConn

func PgxConn(ctx context.Context, schema string) (*pgx.Conn, error)

PgxConn init pgx connection. Use a unique schema per module

Types

This section is empty.

Jump to

Keyboard shortcuts

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