From 1c1da49bb164973c2b84eeb215a1c0228126970b Mon Sep 17 00:00:00 2001 From: AH-dark Date: Tue, 23 Aug 2022 12:54:50 +0800 Subject: [PATCH] fix: added the declaration of the method to the interface. --- routergroup.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routergroup.go b/routergroup.go index 93c8e054..ee28d618 100644 --- a/routergroup.go +++ b/routergroup.go @@ -34,6 +34,7 @@ type IRoutes interface { Use(...HandlerFunc) IRoutes Handle(string, string, ...HandlerFunc) IRoutes + Handles([]string, string, ...HandlerFunc) IRoutes Any(string, ...HandlerFunc) IRoutes GET(string, ...HandlerFunc) IRoutes POST(string, ...HandlerFunc) IRoutes