You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some scenarios, it's handy to get the full path of an endpoint like this: curPath := "/path/to/resource" subRouter.Get(curPath, fn) fullPath := subRouter.PathPrefix() + curPath
Without public accessor, I have to pass sub-routers prefixes everywhere.
The text was updated successfully, but these errors were encountered:
In some scenarios, it's handy to get the full path of an endpoint like this:
curPath := "/path/to/resource"
subRouter.Get(curPath, fn)
fullPath := subRouter.PathPrefix() + curPath
Without public accessor, I have to pass sub-routers prefixes everywhere.
The text was updated successfully, but these errors were encountered: