go-zero
go-zero copied to clipboard
What's the method to obtain the current route in the http middleware?
trafficstars
For example, if a route "/from/:name" is registered, how can the middleware obtain the registered route name "/from/:name" when a request enters this route?
There is no method to get the route associated with current request.