Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Passing http.ResponseWriter, *http.Request and martini.Params to a handler #317
I haven't been able to figure out if this was possible in the first place (the docs say it should be and Martini would resolve the dependecies) or what the proper order was. I need to invoke a handler using a regexp+capture group match and have access to both the request and response inside the handler (that does not return string, I need to be able to send responses back through the response reference).
Thanks for any hints!