github.com/MontFerret/ferret@v0.18.0/pkg/runtime/core/setter.go (about) 1 package core 2 3 import "context" 4 5 type ( 6 // Setter represents an interface of 7 // complex types that needs to be used to write values by path. 8 // The interface is created to let user-defined types be used in dot notation assignment. 9 Setter interface { 10 SetIn(ctx context.Context, path []Value, value Value) PathError 11 } 12 )