Documentation
¶
Index ¶
Constants ¶
View Source
const (
TIME_LAYOUT = "20060102150405"
)
Variables ¶
View Source
var ErrDirty = errors.New("migration is dirty")
View Source
var ErrNoChange = errors.New("no change")
Functions ¶
Types ¶
type Migration ¶
func (*Migration) GetLastVersion ¶
GetLastVersion get last migration version
func (*Migration) GetVersions ¶
GetVersions get all migrations version
Click to show internal directories.
Click to hide internal directories.