daddy/internal/migration/version_resolver.go

9 lines
150 B
Go

package migration
import "context"
type VersionResolver interface {
Current(context.Context) (string, error)
Set(context.Context, string) error
}