From f4a8c68802741a4d640fe5bf13d778d902ae0acd Mon Sep 17 00:00:00 2001 From: jf Date: Sat, 6 Aug 2022 23:55:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=86=99=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router.go b/router.go index 84c5fa2..dd91958 100644 --- a/router.go +++ b/router.go @@ -13,7 +13,7 @@ import ( ) // HandlerFunc 函数体 -type HandlerFunc func(*Context) error +type HandlerFunc func(*Context) (err error) // IRouter 路由 type IRouter interface {