Versions in this module Expand all Collapse all v0 v0.1.0 Jun 26, 2022 Changes in this version + const DateLayout + const NamePattern + var ErrMissingUpSection = errors.New("missing up section in migration file") + var ErrWrongOrder = errors.New("migrate up section must appear before migrate down section") + type Migration struct + Date time.Time + DownCmd *exec.Cmd + Name string + UpCmd *exec.Cmd + func New(filePath string) (*Migration, error) + func (m *Migration) Down() error + func (m *Migration) Parse(executor string) error + func (m *Migration) Up() error