postgres

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(pool *pgxpool.Pool)

Close closes the database pool. This is a helper for graceful shutdown.

func NewPool

func NewPool(ctx context.Context, cfg *config.DatabaseConfig) (*pgxpool.Pool, error)

NewPool creates a new PostgreSQL connection pool.

Types

This section is empty.

Directories

Path Synopsis
Package common provides shared utilities for PostgreSQL repositories.
Package common provides shared utilities for PostgreSQL repositories.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL