summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--router.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/router.go b/router.go
index a9137be..193d076 100644
--- a/router.go
+++ b/router.go
@@ -38,7 +38,6 @@ func (r *Router) Find(method string, path string) (Handler, map[string]string) {
continue
}
-
// compare each segment
params := make(map[string]string)
matched := true
@@ -70,8 +69,8 @@ func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) {
return
}
handler(&Context{
- W: w,
- R: req,
- Params: params,
+ W: w,
+ R: req,
+ Params: params,
})
}