From 2f709e3f92e226a7543e2c9c564d7d424a205d52 Mon Sep 17 00:00:00 2001 From: Alexander Melentyev Date: Thu, 19 Aug 2021 13:58:23 +0300 Subject: [PATCH] Delete unused static const --- tree.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tree.go b/tree.go index eb549591d6..fb0a5935c2 100644 --- a/tree.go +++ b/tree.go @@ -101,8 +101,7 @@ func countParams(path string) uint16 { type nodeType uint8 const ( - static nodeType = iota // default - root + root nodeType = iota + 1 param catchAll )