# Packages
Package clpgmigrate implements the postgres migration logic.
No description provided by the author
Package cltx is a small package for adding and retrieving pgx transactions from the context.
# Functions
ConnStringFromConfig turns the package configuration into a connection string.
ConnStringFromEnvironment turns the environment config and turns it into a connection string.
New inits a stdlib sql connection.
NewLogger inits a logger for pgx.
NewPool inits a raw pgx postgres connection pool.
NewReadOnlyConfig constructs a config for a read-only database connecion.
NewReadWriteConfig constructs a config for a read-write database connecion.
Provide configures the DI for providng database connectivity.
TestProvide configures the DI for a test environment.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Migrater implements a migtration strategy that can be run before the database connection (pool) is setup.
# Type aliases
ConfigKind is the kind of pgxpool config we are providing.