Y
Hacker News
new
|
ask
|
show
|
jobs
by
infogulch
1018 days ago
I'll have to think about that. It currently uses path parameters from the julienschmidt/httprouter router implementation, which I think are pretty important. How would you expect to define and receive path parameters?
1 comments
lonk11
1018 days ago
gorilla/mux supports parameters in the path as well. For example: "/posts/{id:[0-9]+}"
Passing the parameters from the handler to the template could be left to the user of the library.
link
Passing the parameters from the handler to the template could be left to the user of the library.