package
3.5.4+incompatible
Repository: https://github.com/jjfeiler/migrate.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package vfs contains a driver that reads migrations from a virtual file system.
No description provided by the author
No description provided by the author
Package testing has the source tests.
# Functions
List lists the registered drivers.
No description provided by the author
Open returns a new driver instance.
Parse returns Migration for matching Regex pattern.
Register globally registers a driver.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
Regex matches the following pattern: 123_name.up.ext 123_name.down.ext.
# Structs
Migration is a helper struct for source drivers that need to build the full directory tree in memory.
Migrations wraps Migration and has an internal index to keep track of Migration order.
# Interfaces
Driver is the interface every source driver must implement.
# Type aliases
Direction is either up or down.