postgres

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPgxFailedToParseConfig = errors.New("pgx failed to parse config")
	ErrPgxFailedToConnect     = errors.New("pgx failed to connect")
)

Functions

This section is empty.

Types

type PostgresClient

type PostgresClient struct {
	Client *pgxpool.Pool
}

func NewPostgresClient

func NewPostgresClient(connectionString string) (*PostgresClient, error)

Jump to

Keyboard shortcuts

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