github.com/golang-migrate/migrate/v4/source.Migrations.migrations (field)
11 uses
github.com/golang-migrate/migrate/v4/source (current package)
migration.go#L38: migrations map[uint]map[Direction]*Migration
migration.go#L44: migrations: make(map[uint]map[Direction]*Migration),
migration.go#L53: if i.migrations[m.Version] == nil {
migration.go#L54: i.migrations[m.Version] = make(map[Direction]*Migration)
migration.go#L58: if _, dup := i.migrations[m.Version][m.Direction]; dup {
migration.go#L62: i.migrations[m.Version][m.Direction] = m
migration.go#L70: for version := range i.migrations {
migration.go#L100: if _, ok := i.migrations[version]; ok {
migration.go#L101: if mx, ok := i.migrations[version][Up]; ok {
migration.go#L109: if _, ok := i.migrations[version]; ok {
migration.go#L110: if mx, ok := i.migrations[version][Down]; ok {
![]() |
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. |