Versions in this module Expand all Collapse all v0 v0.0.1 Jun 23, 2023 Changes in this version + func Run(ctx context.Context, db beginner, m []Migration) error + func Validity(migrations []Migration) error + type Error struct + Err error + Index int + Mig Migration + func (e *Error) Error() string + type Migration struct + Hash string + Name string + OutsideTx bool + RequiredSHA string + SQL string + func FilterApplied(db execer, ms []Migration) ([]Migration, error) + func GetApplied(ctx context.Context, db execer) ([]Migration, error) + func (m Migration) String() string