Documentation
¶
Index ¶
- Variables
- func ClearDatabaseTables()
- func DownTestContainerPostgres(pgContainer *postgres.PostgresContainer) error
- func GetDb() *sql.DB
- func ReturnTestContainerConnectionString(pgContainer *postgres.PostgresContainer) (*string, error)
- func RunMigrations(connectionString string, migrationUrl string)
- func UpTestContainerPostgres() (*postgres.PostgresContainer, error)
- type Postgres
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalDb *sql.DB
Functions ¶
func ClearDatabaseTables ¶
func ClearDatabaseTables()
func DownTestContainerPostgres ¶
func DownTestContainerPostgres(pgContainer *postgres.PostgresContainer) error
func ReturnTestContainerConnectionString ¶
func ReturnTestContainerConnectionString(pgContainer *postgres.PostgresContainer) (*string, error)
func RunMigrations ¶
func UpTestContainerPostgres ¶
func UpTestContainerPostgres() (*postgres.PostgresContainer, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.