gocraft / web

Go Router + Middleware. Your Contexts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

context with request and response

finalist736 opened this issue · comments

Good day.
Do you plan to wrap web.request and web.responsewriter into context for handlers like this:
func helloHandler (ctx * MyCtx);
type MyCtx struct {
req web.request
rw web.respwriter
}