From 67ece032ea1feae0a8cfa74684b60b59dbd5fb7a Mon Sep 17 00:00:00 2001 From: Michael Pan <1214534601@qq.com> Date: Fri, 18 Mar 2022 21:08:37 +0800 Subject: [PATCH] fix annotation --- tree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tree.go b/tree.go index c97c7071..88100eec 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 still exist subpath starting with '/' + // will be another subpath starting with '/' if len(wildcard) < len(path) { path = path[len(wildcard):]