WithVariable sets a variable for use in the selector.
(key string, val *model.Value)
| 36 | |
| 37 | // WithVariable sets a variable for use in the selector. |
| 38 | func WithVariable(key string, val *model.Value) ExecuteOptionFn { |
| 39 | return func(o *Options) { |
| 40 | o.Vars[key] = val |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | // WithUnstable allows access to potentially unstable features. |
| 45 | func WithUnstable() ExecuteOptionFn { |
no outgoing calls