Documentation ¶ Index ¶ func NewPostgresConnect(e *config.Env) (*pgxpool.Pool, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewPostgresConnect ¶ func NewPostgresConnect(e *config.Env) (*pgxpool.Pool, error) NewPostgresConnect creates a new connection pool to a PostgreSQL database. It takes an environment configuration object as input and returns a *pgxpool.Pool and an error. Types ¶ This section is empty. Source Files ¶ View all Source files database.go Click to show internal directories. Click to hide internal directories.