From d09a0ae63baeb59db05f7e42004d50247894e8bb Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 11 May 2013 15:26:12 -0700 Subject: Fmt --- route.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'route.go') diff --git a/route.go b/route.go index 0aea94c..49d627d 100644 --- a/route.go +++ b/route.go @@ -1,12 +1,12 @@ package router import ( + "github.com/franckcuny/web-request" "regexp" "strings" - "github.com/franckcuny/web-request" ) -type fn func(*request.Request, *request.Response) (error) +type fn func(*request.Request, *request.Response) error type fns map[string]fn type Route struct { @@ -61,7 +61,7 @@ func (self *Route) Match(method string, components []string) *Match { if self.Defaults != nil { mapping = self.Defaults - }else{ + } else { mapping = map[string]string{} } -- cgit 1.4.1