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
Save match with request and resolve it extra gorilla/mux
Rerun route matcher on url to extract parameter.
The third one would require another extraction of the route parameter but as it is optional and does not require any extra cache layer I think it could be still efficient (if this is your main concern).
Best,
Bo
The text was updated successfully, but these errors were encountered:
Hello,
you write yourself that there is no efficient way to retrieve parameters without providing a third parameter.
I thought of four possible ways which we see partly in other routers:
request.URL.Query()
patThe third one would require another extraction of the route parameter but as it is optional and does not require any extra cache layer I think it could be still efficient (if this is your main concern).
Best,
Bo
The text was updated successfully, but these errors were encountered: