package
2.1.1
Repository: https://github.com/db-journey/migrate.git
Documentation: pkg.go.dev

# Functions

FileExtension returns extension of migration file for given driver.
FileTemplate returns initial content of migration file for given driver.
Lock calls Lock method if driver implements Lockable.
New returns Driver and calls Initialize on it.
Register a driver so it can be created from its name.
Unlock calls Unlock method if driver implements Lockable.

# Interfaces

Driver is the interface type that needs to implemented by all drivers.
Lockable represents driver that supports database locking.

# Type aliases

FactoryFunc produces driver instances.