Help us shape the future of Go! Take the 2026 Go Developer Survey

pgsql

package module
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(db *sql.DB, registry storage.Registry) (storage.Storage, error)

New creates a PostgreSQL storage layer over an existing database handle. The returned storage does not close db.

func Open

func Open(dsn string, registry storage.Registry) (storage.Storage, error)

Open opens a storage database

Types

type Record

type Record = storage.Object

Record represents a stored resource document.

Jump to

Keyboard shortcuts

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