postgres_migrator

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package postgres_migrator 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) (*migrator.Status, error)

Jump to

Keyboard shortcuts

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