(ctx context.Context, r interface{}, visit pathMatcher)
| 72 | } |
| 73 | |
| 74 | func (p *ambiguousPath) visitMatchs(ctx context.Context, r interface{}, visit pathMatcher) { |
| 75 | p.parent.visitMatchs(ctx, r, func(keys []interface{}, v interface{}) { |
| 76 | p.branch(ctx, r, v, p.ending.matcher(ctx, r, visit.matcher(keys))) |
| 77 | }) |
| 78 | } |
| 79 | |
| 80 | func (p *ambiguousPath) branchMatcher(ctx context.Context, r interface{}, m ambiguousMatcher) ambiguousMatcher { |
| 81 | return func(k, v interface{}) { |
no test coverage detected