package
0.0.0-20240907055111-80d63af8c3ae
Repository: https://github.com/vlaship/book-catalog-go.git
Documentation: pkg.go.dev
# Functions
CheckAffectedRows checks affected rows.
GetErrorByCode returns error by pgErr.Code.
GooseMigrateDatabase migrates the database using goose.
New creates a new connection pool to a Postgres database.
# Constants
FailedBeginTransaction Error messages.
FailedCommitTransaction Error messages.
# Structs
ConnPoolImpl is a struct that represents a connection pool to a Postgres database.
# Interfaces
ConnPool is a connection pool interface.