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

postgres

package
v0.0.0-...-63b1730 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package postgres is the sole owner of catalog SQL and migrations.

Index

Constants

This section is empty.

Variables

View Source
var Schema string

Functions

This section is empty.

Types

type Repository

type Repository struct{ DB *sql.DB }

func (*Repository) CheckRuntime

func (r *Repository) CheckRuntime(ctx context.Context) error

CheckRuntime rejects migration identities and privileges crossing module schemas.

func (*Repository) Transaction

func (r *Repository) Transaction(ctx context.Context, run func(catalog.Transaction) error) error

Jump to

Keyboard shortcuts

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