pgtest

package
v1.2.1-rc0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustExec added in v1.1.0

func MustExec(t *testing.T, db *sqlx.DB, stmt string, args ...interface{})

func NewPGCfg added in v1.1.0

func NewPGCfg(logSQL bool) pg.LogConfig

func NewSqlDB

func NewSqlDB(t *testing.T) *sql.DB

func NewSqlxDB added in v1.0.0

func NewSqlxDB(t *testing.T) *sqlx.DB

Types

type PGCfg added in v1.1.0

type PGCfg struct {
	// contains filtered or unexported fields
}

func (PGCfg) LogSQL added in v1.1.0

func (p PGCfg) LogSQL() bool

Jump to

Keyboard shortcuts

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