migrate

package
v0.0.0-...-11559a6 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(options ...func(*Options)) (err error)

func WithBefore

func WithBefore(f func(ctx context.Context) error) func(*Options)

func WithChangeTable

func WithChangeTable(s string) func(*Options)

func WithCtx

func WithCtx(ctx context.Context) func(*Options)

func WithDriver

func WithDriver(s string) func(*Options)

func WithFs

func WithFs(fs embed.FS) func(*Options)

func WithFsRoot

func WithFsRoot(s string) func(*Options)

func WithLockName

func WithLockName(s string) func(*Options)

func WithUri

func WithUri(s string) func(*Options)

Types

type Options

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

Jump to

Keyboard shortcuts

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