diff options
Diffstat (limited to 'route.go')
-rw-r--r-- | route.go | 1 |
1 files changed, 0 insertions, 1 deletions
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] |