package
1.2.1
Repository: https://github.com/ibrt/golang-inject-pg.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Get extracts the PG from context, panics if not found.
GetConfig extracts the *Config from context, panics if not found.
GetCtx extracts the PG from context and wraps it as ContextPG, panics if not found.
Initializer is a PG initializer.
NewConfigSingletonInjector always inject the given *Config.
NewTx initializes a new Tx.

# Structs

Config describes the configuration for PG.
Tx describes a transaction.

# Interfaces

ContextPG describes a PG with a cached context.
PG describes the pg module (a subset of *sql.DB).