Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileInfo ¶
type FileInfo struct {
Name string
Version ver.Version
Comment string
MigrationType MigrationType
}
func FilterMigrationFiles ¶
FilterMigrationFiles returns sorted slice FileInfo and filtered by MigrationType
func ParseFileName ¶
type MigrationType ¶
type MigrationType int
const ( Up MigrationType = iota Down )
func (MigrationType) String ¶
func (mt MigrationType) String() string
Click to show internal directories.
Click to hide internal directories.