pg

package
v1.4.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package pg contains the Postgres-backed storage adapter used by managers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDB

func NewDB(pg *sql.DB, log *logrus.Entry) *db

NewDB creates a Postgres-backed adapter instance. revive:disable:unexported-return // internal package consumers depend on concrete *db; exporting the type is out-of-scope.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL