Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultTestDBHost = GetEnvDefault("TEST_POSTGRES_HOST", "localhost") DefaultTestDBPort = GetEnvDefault("TEST_POSTGRES_PORT", "5432") DefaultTestURI = fmt.Sprintf("postgres://postgres@%s:%s/postgres?sslmode=disable", DefaultTestDBHost, DefaultTestDBPort) DropTableURI = fmt.Sprintf("postgres://postgres@%s:%s/template1?sslmode=disable", DefaultTestDBHost, DefaultTestDBPort) )
Functions ¶
func GetEnvDefault ¶ added in v0.167.2
func ResetDefaultTestPostgresDB ¶
func ResetDefaultTestPostgresDB() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.