go-app: Route regex like containing `?param=` is not routing
I have a routing regex like this app.RouteWithRegexp("^/share?url=[a-zA-Z]+$", &crdView{}) and it’s not routing. It says 404.
If I change it to app.RouteWithRegexp("^/share/[a-zA-Z]+$", &crdView{}) it routes fine.
Any ideas what’s happening?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 22 (22 by maintainers)
OMG!!! I Got it to work 😄
@maxence-charriere Updating the example to the new routing would be a good idea I guess 😃