about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--request.go2
-rw-r--r--route.go1
2 files changed, 1 insertions, 2 deletions
diff --git a/request.go b/request.go
index 49ed702..715ccac 100644
--- a/request.go
+++ b/request.go
@@ -13,7 +13,7 @@ func (self *Request) RouteParam(name string) string {
 	return self.routeParams[name]
 }
 
-func NewRequest(req *http.Request, match *Match) *Request{
+func NewRequest(req *http.Request, match *Match) *Request {
 	return &Request{
 		match.Mapping,
 		req,
diff --git a/route.go b/route.go
index e7994f7..832313b 100644
--- a/route.go
+++ b/route.go
@@ -31,7 +31,6 @@ var componentsIsOptional = regexp.MustCompile("^\\?:")
 var namedComponentsRegex = regexp.MustCompile("^:(.*)$")
 var convertComponent = regexp.MustCompile("^\\??:(.*)$")
 
-
 func (self *Route) convertComponentName(name string) string {
 	newName := convertComponent.FindStringSubmatch(name)
 	return newName[1]