Documentation ¶
Index ¶
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
}
Migrator represents the component responsible for running migrations on bolt db
func NewMigrator ¶
NewMigrator returns a new instance of migrator
func (*Migrator) RunMigrations ¶
func (m *Migrator) RunMigrations(sequence []migrations.Migration) error
RunMigrations runs the given sequence of migrations
Click to show internal directories.
Click to hide internal directories.