postgres

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct {
	URL string
	FS  fs.FS
}

func (FS) Down

func (fsys FS) Down(ctx context.Context) error

Down runs the down migrations on the database.

func (FS) Up

func (fsys FS) Up(ctx context.Context) error

Up runs the up migrations on the database.

func (FS) Version

func (fsys FS) Version(ctx context.Context, ver int32) error

Version runs the migrations to a given target version.

Jump to

Keyboard shortcuts

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