Versions in this module Expand all Collapse all v1 v1.7.0 Apr 27, 2026 Changes in this version + func Down(ctx context.Context, cfg Config) error + func DownTo(ctx context.Context, cfg Config, version uint) error + func Force(ctx context.Context, cfg Config, version int) error + func Up(ctx context.Context, cfg Config) error + func UpTo(ctx context.Context, cfg Config, version uint) error + func Version(ctx context.Context, cfg Config) (uint, bool, error) + type Config struct + DB *sql.DB + DriverName string + SourcePath string + type MigrateStatus struct + Dirty bool + Version uint + func Status(ctx context.Context, cfg Config) (MigrateStatus, error)