type github.com/golang-migrate/migrate/v4/source.Migration
9 uses
github.com/golang-migrate/migrate/v4/source (current package)
migration.go#L18: type Migration struct {
migration.go#L38: migrations map[uint]map[Direction]*Migration
migration.go#L44: migrations: make(map[uint]map[Direction]*Migration),
migration.go#L48: func (i *Migrations) Append(m *Migration) (ok bool) {
migration.go#L54: i.migrations[m.Version] = make(map[Direction]*Migration)
migration.go#L99: func (i *Migrations) Up(version uint) (m *Migration, ok bool) {
migration.go#L108: func (i *Migrations) Down(version uint) (m *Migration, ok bool) {
parse.go#L24: func Parse(raw string) (*Migration, error) {
parse.go#L31: return &Migration{
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |