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

pgjournal

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package pgjournal provides an implementation of journal.Store that persists to a PostgreSQL database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	// DB is the PostgreSQL database connection.
	DB *sql.DB
}

Store is an implementation of journal.Store that persists to a PostgreSQL database.

func (*Store) Open

func (s *Store) Open(ctx context.Context, name string) (journal.Journal, error)

Open returns the journal with the given name.

Jump to

Keyboard shortcuts

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