From 9b1e3533e2d17b6152b05efeab8280f450e68e52 Mon Sep 17 00:00:00 2001 From: Name <1911860538@qq.com> Date: Fri, 19 Sep 2025 08:35:34 +0800 Subject: [PATCH] refactor(tree): replace string(/) with "/" in node.insertChild (#4354) Co-authored-by: 1911860538 --- tree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tree.go b/tree.go index a298d74..78479b6 100644 --- a/tree.go +++ b/tree.go @@ -383,7 +383,7 @@ func (n *node) insertChild(path string, fullPath string, handlers HandlersChain) } n.addChild(child) - n.indices = string('/') + n.indices = "/" n = child n.priority++