| 31 | } |
| 32 | |
| 33 | type ScriptMatch struct { |
| 34 | compiled *tengo.Compiled |
| 35 | } |
| 36 | |
| 37 | func NewScriptMatch(expr string) (*ScriptMatch, error) { |
| 38 | script := tengo.NewScript(fmt.Appendf(nil, "__res__ := (%s)", expr)) |
nothing calls this directly
no outgoing calls
no test coverage detected