Documentation ¶ Index ¶ func MustExec(t *testing.T, db *sqlx.DB, stmt string, args ...interface{}) func NewPGCfg(logSQL bool) pg.LogConfig func NewSqlDB(t *testing.T) *sql.DB func NewSqlxDB(t *testing.T) *sqlx.DB type PGCfg func (p PGCfg) LogSQL() bool 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 Source Files ¶ View all Source files pgtest.go txdb.go Click to show internal directories. Click to hide internal directories.