()
| 14 | ) |
| 15 | |
| 16 | func init() { |
| 17 | tree.ValidateJSONPath = func(jsonpath string) (*jsonpath.Jsonpath, error) { |
| 18 | jp, err := Parse(jsonpath) |
| 19 | if err != nil { |
| 20 | return nil, err |
| 21 | } |
| 22 | return jp.AST, nil |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | var ( |
| 27 | ReCache = tree.NewRegexpCache(64) |
nothing calls this directly
no test coverage detected
searching dependent graphs…