migrate

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg Config)

Run executes the migrate CLI workflow using the provided configuration.

Types

type Config

type Config struct {
	Embedded    fs.FS   // deprecated: use EmbeddedFSs
	EmbeddedFSs []fs.FS // multiple embedded sources
	EnvVar      string
	Timeout     time.Duration
}

Config customizes how the migration runner behaves.

Jump to

Keyboard shortcuts

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