package
0.39.2
Repository: https://github.com/crewlinker/clgo.git
Documentation: pkg.go.dev

# Packages

Package clmymigrate implements the postgres migration logic.

# Functions

New inits a standard sql.DB with optional OTEL tracing and metrics.
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.

# Structs

Config configures the package.

# Interfaces

Migrater implements a migtration strategy that can be run before the database connection (pool) is setup.