From 44b4f1b3aa56bc62c64bd48dd47240311f4273b4 Mon Sep 17 00:00:00 2001 From: Michael Pan <1214534601@qq.com> Date: Fri, 18 Mar 2022 20:44:38 +0800 Subject: [PATCH] fix annotation --- tree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tree.go b/tree.go index 18e50ee3..c97c7071 100644 --- a/tree.go +++ b/tree.go @@ -325,7 +325,7 @@ func (n *node) insertChild(path string, fullPath string, handlers HandlersChain) n.priority++ // if the path doesn't end with the wildcard, then there - // will be another non-wildcard subpath starting with '/' + // will still exist subpath starting with '/' if len(wildcard) < len(path) { path = path[len(wildcard):]