I'm using Go for a web application and currently I'm using the standard 
ServeMux since I don't need fancy features.
The only features I need are PATH_INFO, and routing args.

Unfortunately I have searched a few external packages but they all have 
some problems.

* https://github.com/julienschmidt/httprouter: unfortunately the HTTP 
handler is not compatible with the standard HTTP handler, since parameters 
are passed as an additional argument.

* https://github.com/bmizerany/pat:  stores the parameters in Request.URL, 
but does not have PATH_INFO (instead if has a Tail function)

* https://github.com/go-zoo/bone: stores parameters in the request context 
(good), but for older version of Go it stores them in a global variable.
   Still, there is no support for PATH_INFO and the coding style is not the 
best.

Any other choices?


Thanks  Manlio

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to