Documentation
¶
Overview ¶
Package database provides common functions for database images.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunMigrations ¶
func RunMigrations(sourceURL, databaseURL string) testcontainers.ContainerCallback
RunMigrations runs database migration when container is ready.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mongo provides setup for spinning up a mongodb container.
|
Package mongo provides setup for spinning up a mongodb container. |
|
Package mysql provides setup for spinning up a mysql container.
|
Package mysql provides setup for spinning up a mysql container. |
|
Package postgres provides setup for spinning up a postgres container.
|
Package postgres provides setup for spinning up a postgres container. |
Click to show internal directories.
Click to hide internal directories.