Versions in this module Expand all Collapse all v0 v0.4.0 Sep 2, 2026 v0.3.0 Sep 1, 2026 Changes in this version + func Invoke(ctx context.Context, executor Executor, effect Effect) (interface{}, error) + func InvokeContext(ctx context.Context, executor ContextExecutor, effect Effect) (interface{}, error) + type Compiler interface + CompileFile func(path string, schema SchemaInfo) (Spec, error) + type ContextExecutor interface + DoContext func(ctx context.Context, effect Effect) (result interface{}, err error) + type Effect struct + Payload interface{} + Verb string + type Executor interface + Do func(effect Effect) (result interface{}, err error) + type Facts interface + Get func(path string) (interface{}, bool) + Schema func() SchemaInfo + type SchemaInfo interface + ValidatePath func(path string) bool + type Spec interface + Execute func(ctx context.Context, facts Facts, ex Executor) error + GetName func() string + RequiredFacts func() []string