From 2580be08ab2dc7300a525836cfba9411b88907eb Mon Sep 17 00:00:00 2001 From: wenjianzhang Date: Wed, 12 May 2021 18:50:13 +0800 Subject: [PATCH] =?UTF-8?q?feat=E2=9C=A8=20=E4=BC=98=E5=8C=96=E5=86=99?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/models/router.go | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 common/models/router.go diff --git a/common/models/router.go b/common/models/router.go deleted file mode 100644 index 1f42032c..00000000 --- a/common/models/router.go +++ /dev/null @@ -1,14 +0,0 @@ -package models - -type Routers struct { - List []Router -} - -type Router struct { - HttpMethod, RelativePath string -} - -func (e *Routers) Add(HttpMethod, RelativePath string) *Routers { - e.List = append(e.List, Router{HttpMethod: HttpMethod,RelativePath: RelativePath}) - return e -} \ No newline at end of file