Documentation ¶
Index ¶
- Constants
- func FindRow[Row any](t *testing.T, tx gf_sqlite3.Queryer, from string, where map[string]any) *Row
- func GetEnvSQLite3() (database string)
- func InitDDLs(t *testing.T, db *sqlx.DB, stmts []string)
- func InitDMLs(t *testing.T, db *sqlx.DB, stmts []string)
- func ListRows[Row any](t *testing.T, tx gf_sqlite3.Queryer, from string) []*Row
- func Setup(t *testing.T, database string) (db *sqlx.DB, teardown func())
- func SkipIfNoEnv(t *testing.T)
Constants ¶
View Source
const (
EnvTestSQLite3 = "GOTAFACE_TEST_SQLITE3"
)
Variables ¶
This section is empty.
Functions ¶
func GetEnvSQLite3 ¶
func GetEnvSQLite3() (database string)
func SkipIfNoEnv ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.