MCPcopy
hub / github.com/TomWright/dasel / FuncFn

FuncType FuncFn

execution/func.go:137–137  ·  view source on GitHub ↗

FuncFn is a function that can be executed.

func(ctx context.Context, data *model.Value, args model.Values) (*model.Value, error)

Source from the content-addressed store, hash-verified

135
136// FuncFn is a function that can be executed.
137type FuncFn func(ctx context.Context, data *model.Value, args model.Values) (*model.Value, error)
138
139// FuncCollection is a collection of functions that can be executed.
140type FuncCollection map[string]FuncFn

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected