Documentation ¶ Index ¶ type Migrate type Migration func New(change string) Migration Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Migrate ¶ type Migrate interface { Migrate() error Revert() error Commit() error } type Migration ¶ type Migration interface { // Should return the summary of the migration Name() string Apply(conn *agoradb.Client, migrations ...Migrate) error Revert(migrations ...Migrate) error } func New ¶ func New(change string) Migration Source Files ¶ View all Source files migrate.go migration.go Click to show internal directories. Click to hide internal directories.