diff --git a/go.mod b/go.mod index e1c0bfd..73b2373 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/gin-gonic/gin v1.7.1 github.com/go-sql-driver/mysql v1.5.0 github.com/mgr9525/HyperByte-Transfer-Protocol v0.0.0-20210422034730-0b85fcf3afe0 - github.com/mgr9525/go-cloud v1.0.6-0.20210424024331-339280d1729c + github.com/mgr9525/go-cloud v1.0.6-0.20210424081153-e750eb24bf9b github.com/mgr9525/go-ruisutil v1.0.8-0.20210317093428-f69295935056 github.com/qiniu/qmgo v0.9.2 github.com/sirupsen/logrus v1.8.1 diff --git a/go.sum b/go.sum index c0d248b..200a7a0 100644 --- a/go.sum +++ b/go.sum @@ -99,8 +99,8 @@ github.com/mattn/go-sqlite3 v1.14.0 h1:mLyGNKR8+Vv9CAU7PphKa2hkEqxxhn8i32J6FPj1/ github.com/mattn/go-sqlite3 v1.14.0/go.mod h1:JIl7NbARA7phWnGvh0LKTyg7S9BA+6gx71ShQilpsus= github.com/mgr9525/HyperByte-Transfer-Protocol v0.0.0-20210422034730-0b85fcf3afe0 h1:pnIfNO1DHHY5QSTZZD6bIJa2yDoI+saVY4YaQd8EdA8= github.com/mgr9525/HyperByte-Transfer-Protocol v0.0.0-20210422034730-0b85fcf3afe0/go.mod h1:U2OZ06VD1PHu3ZLZ8tuEHooaOZnoke/4ZKAZfL44bUQ= -github.com/mgr9525/go-cloud v1.0.6-0.20210424024331-339280d1729c h1:lwcgKx7MJyY1pVZ4omKblNpxaeWVWWovJZYYwast6EM= -github.com/mgr9525/go-cloud v1.0.6-0.20210424024331-339280d1729c/go.mod h1:VkCKgivVD2OX75Zwh+AO3zuJyxGCsuo0zdy+UXCYy9I= +github.com/mgr9525/go-cloud v1.0.6-0.20210424081153-e750eb24bf9b h1:oElF+f4/gu7IsnNc58SO+WKl7xbcFSIVlyJKeefdCzc= +github.com/mgr9525/go-cloud v1.0.6-0.20210424081153-e750eb24bf9b/go.mod h1:VkCKgivVD2OX75Zwh+AO3zuJyxGCsuo0zdy+UXCYy9I= github.com/mgr9525/go-ruisutil v1.0.8-0.20210317093428-f69295935056 h1:JhXsFUB3mFWwiDc8c//E/6cUazJUX1lIiLgiM0asNjA= github.com/mgr9525/go-ruisutil v1.0.8-0.20210317093428-f69295935056/go.mod h1:qXUWVKpHdwoxR0KERCkvL1JH2DETY6b5TMG9t6g9Pls= github.com/mgr9525/logrus-file-hook v0.0.0-20210315103109-42681d084c3b h1:sGrxWDbhC2XpDKOLdNrYVo3Ga9YIFMr0AfjnP2gli0o= diff --git a/webs/sys/route/index.go b/webs/sys/route/index.go index 1b47f06..74f3359 100644 --- a/webs/sys/route/index.go +++ b/webs/sys/route/index.go @@ -9,9 +9,6 @@ type IndexHandler struct{} func (IndexHandler) GetPath() string { return "" } -func (IndexHandler) GetMid() gin.HandlerFunc { - return nil -} func (c *IndexHandler) Routes(g gin.IRoutes) { g.Any("/", c.index) }