MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cloud-sql-proxy / postgresDSN

Function postgresDSN

tests/postgres_test.go:55–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func postgresDSN() string {
56 return fmt.Sprintf("host=localhost user=%s password=%s database=%s sslmode=disable",
57 *postgresUser, *postgresPass, *postgresDB)
58}
59
60func TestPostgresTCP(t *testing.T) {
61 if testing.Short() {

Callers 4

TestPostgresTCPFunction · 0.85
TestPostgresGcloudAuthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected