Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Migration ¶
type Migration interface { Description() string //Describes the migration taking Guard(afero.Fs, string) (bool, error) //Returns true if migration is runnable, otherwise error Migrate(afero.Fs, string) (string, error) //Returns path to config and err Prompt() bool //Returns whether the user would like to run the migration }
Migration Defines a fogg migration and the actions that it can perform
Click to show internal directories.
Click to hide internal directories.