Documentation
¶
Index ¶
- Constants
- func StartMariaDBTestDB(ctx context.Context) (testcontainers.Container, *sql.DB, error)
- func StartMySQLTestDB(ctx context.Context) (testcontainers.Container, *sql.DB, error)
- func StartPostgresTestDB(ctx context.Context) (testcontainers.Container, *sql.DB, error)
- func WaitForDBPing(ctx context.Context, db *sql.DB, timeout time.Duration) error
Constants ¶
View Source
const ( TestDBName = "db_test" TestDBUser = "root" TestDBPassword = "password" )
Variables ¶
This section is empty.
Functions ¶
func StartMariaDBTestDB ¶
func StartMySQLTestDB ¶
func StartPostgresTestDB ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.