Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDB ¶
CreateDB creates a new database and returns the connection URL string of it. The database is created at the postgresql instance reachable via PSQLURL()
func PSQLURL ¶
func PSQLURL() string
PSQLURL returns the value of the environment variable BAUR_TEST_POSTGRESQL_URL. If the environment variable is undefined or empty, defDBURL is returned.
func UniqueDBName ¶
func UniqueDBName() string
UniqueDBName returns a unique postgresql database name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.