From 88097d181adc898be3dc19beea84f4585c171473 Mon Sep 17 00:00:00 2001 From: what Date: Thu, 1 Feb 2024 16:12:50 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E6=96=B0=E5=A2=9E=20RouteParam=20?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing.go b/routing.go index 7d92243..2907dde 100644 --- a/routing.go +++ b/routing.go @@ -103,7 +103,7 @@ type Route interface { type RouteParam interface { GetCode() string - GetType() RouteParamType + GetDataType() RouteParamType GetCategory() RouteParamCategory IsRequired() bool InjectRequestToGlobalParams(*http.Request, GlobalParams) error