Documentation
¶
Overview ¶
Package postgres opens the application's Postgres connection pool and exposes a golang-migrate driver constructor for use by internal/migrate.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateDriver ¶
MigrateDriver opens a *sql.DB via the pgx stdlib shim and wraps it as a golang-migrate database.Driver. The returned driver owns its own *sql.DB; the migrate runner closes it via the underlying source-close path. Callers should not Close the returned driver themselves (migrate.Run closes it).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.