Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostgresPool ¶
NewPostgresPool creates a pgx connection pool from PoolConfig. DSN is built by each service's config via PoolConfig.DSN. In production, DSN contains credentials injected by k8s Secrets (via external-secrets). Locally, DSN is built from .env file values.
Types ¶
Click to show internal directories.
Click to hide internal directories.