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

# Functions

GetProfile returns a database profile for the given function.
MustCreateDB creates (or recreates) a Postgres database, panics on error.
MustDropDB drops a Postgres database, panics on error.
MustOpen opens a Postgres DB and checks the connection, panics on error.
MustSelectDB returns a new pgURL with the given DB name, panics on error.
ResetProfiler resets the database profiler data for the given functions.

# Structs

Helper is a test helper for PG.
Profile describes a database profile.
ProfileByLine describes a per-line database profile.
ProfileByStatement describes a per-statement database profile.