migration

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrationHandler

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

func NewMigrationHandler

func NewMigrationHandler(efs *embed.FS) (*MigrationHandler, error)

func (*MigrationHandler) ListMigrations

func (mgr *MigrationHandler) ListMigrations()

func (*MigrationHandler) MigrationStep

func (mgr *MigrationHandler) MigrationStep(step int)

func (*MigrationHandler) RunMigrations

func (mgr *MigrationHandler) RunMigrations() error

Jump to

Keyboard shortcuts

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