Thanks for the help! This is what I'm looking for.
On Mon, Mar 20, 2017 at 6:32 PM Marian Kopriva
wrote:
> Check out https://github.com/go-martini/martini if you're looking for
> some magic.
> In case you don't find any magic there, then i'm sorry, i've havne't used
> martini myself, and am not
Check out https://github.com/go-martini/martini if you're looking for some
magic.
In case you don't find any magic there, then i'm sorry, i've havne't used
martini myself, and am not familiar with its source, i've only heard from
others that it's quite magicky.
--
You received this message bec
Also, if there already exists a library that does this kind of magic for
REST APIs, I'd love to hear about it.
On Mon, Mar 20, 2017 at 4:01 PM Tyler Compton wrote:
> I'm trying to create an HTTP request router library that automatically
> decodes parameters in the request URL and passes them as
I'm trying to create an HTTP request router library that automatically
decodes parameters in the request URL and passes them as arguments to the
handler function. It would theoretically make something like this possible:
myRouter.HandleFunc("/getPuppies/{id}", func(w http.ResponseWriter, r *http