Documentation ¶ Index ¶ type Migrator func New(dsn string) *Migrator func (r *Migrator) Down() error func (r *Migrator) Register(values ...migration.Interface) *Migrator func (r *Migrator) SetTableName(val string) *Migrator func (r *Migrator) Up() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Migrator ¶ type Migrator struct { // contains filtered or unexported fields } func New ¶ func New(dsn string) *Migrator func (*Migrator) Down ¶ func (r *Migrator) Down() error func (*Migrator) Register ¶ func (r *Migrator) Register(values ...migration.Interface) *Migrator func (*Migrator) SetTableName ¶ func (r *Migrator) SetTableName(val string) *Migrator func (*Migrator) Up ¶ func (r *Migrator) Up() error Source Files ¶ View all Source files migrator.go Click to show internal directories. Click to hide internal directories.