postgres

The postgres package provides functions for connecting to PostgreSQL databases for both on-premise and cloud-provided instances using the *sql.DB type from the Go standard library. Database connections opened using this package will automatically collect diagnostic information via OpenCensus.

Top-level package documentation: https://godoc.org/gocloud.dev/postgres.

Supported Providers🔗