buaazp / fasthttprouter

A high performance fasthttp request router that scales well
http://godoc.org/github.com/buaazp/fasthttprouter
BSD 3-Clause "New" or "Revised" License
872 stars 91 forks source link

Recognize defined path in handler #54

Open regorov opened 5 years ago

regorov commented 5 years ago

Hi!

Let say I had

GET("/customer/:id", handler)

How can I find the original path "/customer/:id" inside func handler() ? Thank you

savsgio commented 5 years ago

Please see: https://github.com/fasthttp/router/issues/4