diff options
Diffstat (limited to 'context.go')
| -rw-r--r-- | context.go | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -6,16 +6,8 @@ import ( type Context struct { W http.ResponseWriter - R http.Request + R *http.Request Params map[string]string } type Handler func(c *Context) - -func (h Handler) ServeHTTP(w http.ResponseWriter, r http.Request) { - h(&Context{ - W: w, - R: r, - Params: make(map[string]string), - }) -} |
