go_databases

package module
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: GPL-3.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNilConfig           = errors.New("config cannot be nil")
	ErrNilConnection       = errors.New("connection cannot be nil")
	ErrNilPool             = errors.New("pool cannot be nil")
	ErrAlreadyConnected    = errors.New("connection to database already established")
	ErrConnectionFailed    = errors.New("failed to connect to database")
	ErrPingFailed          = errors.New("failed to ping database")
	ErrNotConnected        = errors.New("connection to database not established")
	ErrFailedToDisconnect  = errors.New("failed to disconnect from database")
	ErrEmptyDriverName     = errors.New("driver name cannot be empty")
	ErrEmptyDataSourceName = errors.New("data source name cannot be empty")
	ErrNilQuery            = errors.New("sql query cannot be nil")
	ErrNilRow              = errors.New("sql row cannot be nil")
	ErrNilConnHandler      = errors.New("connection handler cannot be nil")
	ErrNilPoolHandler      = errors.New("pool handler cannot be nil")
	ErrNilPoolConfig       = errors.New("pool config cannot be nil")
	ErrNilService          = errors.New("database service cannot be nil")
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
sql
pgx

Jump to

Keyboard shortcuts

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