Documentation ¶
Index ¶
- func CreateMySQLDatabase(t *testing.T, name string, migrations []string) (*sql.DB, func())
- func CreatePostgreSQLDatabase(t *testing.T, name string, schema bool, migrations []string) (*sql.DB, func())
- func CreateSQLiteDatabase(t *testing.T, path string, migrations []string) (*sql.DB, func())
- func MySQL(t *testing.T, migrations []string) (*sql.DB, func())
- func PostgreSQL(t *testing.T, migrations []string) (*sql.DB, func())
- func PostgreSQLPgx(t *testing.T, migrations []string) (*pgx.Conn, func())
- func SQLite(t *testing.T, migrations []string) (*sql.DB, func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMySQLDatabase ¶ added in v1.19.0
func CreatePostgreSQLDatabase ¶ added in v1.19.0
func CreateSQLiteDatabase ¶ added in v1.19.0
func PostgreSQLPgx ¶ added in v1.13.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.