pg

package
v0.0.0-...-a974e34 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(dbConnString string, dbMaxOpenConns, dbMaxIdleConns int) (*sql.DB, error)

Connect establishes a connection to the PostgreSQL database using the provided connection string. It returns a pointer to the sql.DB object and an error if the connection fails. The dbConnString parameter is the connection string for the PostgreSQL database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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