postgres

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package postgres implements the migration contract with golang-migrate.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Migrator

type Migrator struct {
	// contains filtered or unexported fields
}

func (*Migrator) Fresh

func (m *Migrator) Fresh(ctx context.Context) error

func (*Migrator) Migrate

func (m *Migrator) Migrate(ctx context.Context) error

func (*Migrator) Rollback

func (m *Migrator) Rollback(ctx context.Context) error

func (*Migrator) Status

func (m *Migrator) Status(ctx context.Context) (*contract.Status, error)

Jump to

Keyboard shortcuts

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