about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@lumberjaph.net>2013-04-28 15:33:36 -0700
committerFranck Cuny <franck@lumberjaph.net>2013-04-28 15:33:36 -0700
commit13137a521a098d65e2b7df2811f51d967dab6fc0 (patch)
treece1c9177997ddccb573fa6a51f1ba24191a0ddee
parentGenerate route to respond with 405 when the HTTP method is not existing. (diff)
downloadpath-router-13137a521a098d65e2b7df2811f51d967dab6fc0.tar.gz
gofmt
-rw-r--r--router.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/router.go b/router.go
index 65b7763..41b1fc8 100644
--- a/router.go
+++ b/router.go
@@ -8,10 +8,10 @@ import (
 )
 
 type Router struct {
-	routes     []*Route
-	knownPaths map[string]map[string]bool
+	routes      []*Route
+	knownPaths  map[string]map[string]bool
 	withOptions bool
-	notAllowed bool
+	notAllowed  bool
 }
 
 var defaultHTTPMethods = []string{"GET", "HEAD", "PUT", "POST", "PATCH", "OPTIONS"}