daddy/internal/migration/version_resolver.go

9 lines
150 B
Go
Raw Normal View History

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