Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileDirMigrationSource ¶
type FileDirMigrationSource struct {
Dir string
}
FileDirMigrationSource 文件目录源 遇到目录进行递归获取
func (FileDirMigrationSource) FindMigrations ¶
func (f FileDirMigrationSource) FindMigrations() ([]*migrate.Migration, error)
FindMigrations FindMigrations
Click to show internal directories.
Click to hide internal directories.