From 08bef12f0c0da4b84c75cd5169cc7286ce8623ab Mon Sep 17 00:00:00 2001 From: 1911860538 Date: Mon, 15 Sep 2025 19:38:29 +0800 Subject: [PATCH] refactor(tree): replace string(/) with "/" in node.insertChild --- tree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tree.go b/tree.go index a298d748..78479b6f 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++