olebedev / emitter

Emits events in Go way, with wildcard, predicates, cancellation possibilities and many other good wins
Other
509 stars 33 forks source link

Abstracted path.Matcher to Matcher interface #8

Open sampaioletti opened 6 years ago

sampaioletti commented 6 years ago

Hello,

I had a project where I was using your library, but needed different matching than path.Match (our strings have "/" in them, but are not paths).

So I pulled the match functionality out into an interface to make it easier to override. Thought I'd push it back and see if it was useful.

Thanks for the cool library.

razorness commented 4 years ago

Is there any reason why this is not getting merged?