From c8cda2d8db5638075e64e2b2f64a17ec84c466cc Mon Sep 17 00:00:00 2001 From: what Date: Thu, 9 May 2024 11:35:23 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20RouteParamType=20=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routing.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/routing.go b/routing.go index 0d8a8e2..f6626ed 100755 --- a/routing.go +++ b/routing.go @@ -55,14 +55,14 @@ const ( ) const ( - STRING RouteParamType = "string" - BOOL RouteParamType = "bool" - NUMBER RouteParamType = "number" - INTEGER RouteParamType = "integer" - FLOAT RouteParamType = "float" - JSON RouteParamType = "json" - ARRAY RouteParamType = "array" - ANY RouteParamType = "any" + ReqString RouteParamType = "string" + ReqBool RouteParamType = "bool" + ReqNumber RouteParamType = "number" + ReqInteger RouteParamType = "integer" + ReqFloat RouteParamType = "float" + ReqJson RouteParamType = "json" + ReqArray RouteParamType = "array" + ReqAny RouteParamType = "any" ) const (