From 678aaadcd5171e46c1096cd3a49f8197db105f2d Mon Sep 17 00:00:00 2001 From: codeHauler-1 <50894822+codeHauler-1@users.noreply.github.com> Date: Sat, 4 Dec 2021 20:37:10 +0800 Subject: [PATCH] Update tree.go --- tree.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tree.go b/tree.go index 4eb4de31..fb0a5935 100644 --- a/tree.go +++ b/tree.go @@ -48,16 +48,6 @@ func (ps Params) ByName(name string) (va string) { return } -//IsEmpty check the value of the param -func (ps Params) IsEmpty() bool { - for _, entry := range ps { - if len(entry.Value) < 1 { - return false - } - } - return true -} - type methodTree struct { method string root *node