Add RouterPattern to context.Input
Right now beego adds this param only in dev mode, but I noticed that it's very useful to have in prod environment to. My current use case - filter that sends logs in newrelic. Pattern there will help a lot to generate correct transaction name.
Showing
Please
register
or
sign in
to comment