Versions in this module Expand all Collapse all v0 v0.1.0 Jun 26, 2022 Changes in this version + func MigrateDown(cfg *Config, steps int) error + func MigrateUp(cfg *Config, steps int) error + func NewMigrationFile(cfg *Config, name string) error + func Status(cfg *Config) error + type Config struct + DatabaseName string + Dialect string + Directory string + Executor string + FileDB string + Host string + Password string + Port int + SSLMode string + Table string + User string + func GetConfig(env string) *Config + func (cfg *Config) InitMigrationState() (*migration_state.MigrationState, error) + func (cfg *Config) InitStorage() (storage.Storage, error)