Documentation
¶
Index ¶
Constants ¶
View Source
const (
// PostgresTestURL is the URL to connect to when running postgres inside a docker container.
PostgresTestURL = "postgres://postgres@localhost?sslmode=disable"
)
Variables ¶
This section is empty.
Functions ¶
func RunPostgres ¶
RunPostgres starts a docker container running postgres and initialize a database. The container needs to be killed at the end of a test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.