2 ms·
After seeing URL string parsing in application code I would have expected to see at least some sort of discussion about third-party web frameworks.
by grennis 10y ago
After seeing URL string parsing in application code I would have expected to see at least some sort of discussion about third-party web frameworks.
- viiralvx 10y agoEven a web framework isn't necessary. Most people get around that nastiness using gorilla/mux: https://github.com/gorilla/mux https://github.com/gorilla/mux
- cube2222 10y agoDon't you worry, it's not done like that. Either you use query params, or you use a library like gorilla, where you just insert pattern variables into the url.