func DBConnURI(dbName string) string {
	var (
		user     = getEnv("GO_DISCOVERY_DATABASE_TEST_USER", "postgres")
		password = getEnv("GO_DISCOVERY_DATABASE_TEST_PASSWORD", "")
		host     = getEnv("GO_DISCOVERY_DATABASE_TEST_HOST", "localhost")
		port     = getEnv("GO_DISCOVERY_DATABASE_TEST_PORT", "5432")
	)
	cs := fmt.Sprintf("postgres://%s/%s?sslmode=disable&user=%s&password=%s&port=%s",
		host, dbName, url.QueryEscape(user), url.QueryEscape(password), url.QueryEscape(port))
	return cs
}
// DBConnURI generates a postgres connection string in URI format.  This is
// necessary as migrate expects a URI.
DBConnURI generates a postgres connection string in URI format.  This is
necessary as migrate expects a URI.
// DBConnURI generates a postgres connection string in URI format . This is // necessary as migrate expects a URI .
func DBConnURI(dbName string) string {
	var (
		user     = getEnv("GO_DISCOVERY_DATABASE_TEST_USER", "postgres")
		password = getEnv("GO_DISCOVERY_DATABASE_TEST_PASSWORD", "")
		host     = getEnv("GO_DISCOVERY_DATABASE_TEST_HOST", "localhost")
		port     = getEnv("GO_DISCOVERY_DATABASE_TEST_PORT", "5432")
	)
	cs := fmt.Sprintf("postgres://%s/%s?sslmode=disable&user=%s&password=%s&port=%s",
		host, dbName, url.QueryEscape(user), url.QueryEscape(password), url.QueryEscape(port))
	return cs
}
func DBConnURI ( dbName string ) string { var ( user = getEnv ( " " , " " ) password = getEnv ( " " , " " ) host = getEnv ( " " , " " ) port = getEnv ( " " , " " ) ) cs := fmt . Sprintf ( " " , host , dbName , url . QueryEscape ( user ) , url . QueryEscape ( password ) , url . QueryEscape ( port ) ) return cs }
DBConnURI generates a postgres connection string in URI format.
DBConnURI generates a postgres connection string in URI format .