Documentation ¶
Index ¶
- func CreateInitConfig(migrationsDir, goModPath string, FS afero.Fs, environment string) error
- func CreateMigrationFile(opts CreateMigrationOpts) (string, error)
- func MigrationExists(wd, migrationsDir, migrationName string, FS afero.Fs, environment string) (bool, error)
- func Regen(opts RegenOpts) error
- type CreateMigrationOpts
- type Params
- type RegenOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateInitConfig ¶
func CreateMigrationFile ¶
func CreateMigrationFile(opts CreateMigrationOpts) (string, error)
func MigrationExists ¶
Types ¶
type CreateMigrationOpts ¶
Click to show internal directories.
Click to hide internal directories.