diff --git a/go.mod b/go.mod index 6fb1e38..3a274ee 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ replace github.com/OwO-Network/gdeeplx => github.com/gi-yt/gdeeplx v0.0.0-202308 //replace codeberg.org/aryak/libmozhi => /home/arya/projects/mozhi/libmozhi require ( - codeberg.org/aryak/libmozhi v0.0.0-20231129121457-7f83a4201d39 + codeberg.org/aryak/libmozhi v0.0.0-20231129140947-7c9580a1ea2d github.com/gofiber/fiber/v2 v2.51.0 github.com/gofiber/swagger v0.1.14 github.com/gofiber/template v1.8.0 diff --git a/go.sum b/go.sum index dcf68ba..d2e5c30 100644 --- a/go.sum +++ b/go.sum @@ -49,6 +49,8 @@ codeberg.org/aryak/libmozhi v0.0.0-20231102164740-f74635590cf7 h1:IURAFalWOCDnSd codeberg.org/aryak/libmozhi v0.0.0-20231102164740-f74635590cf7/go.mod h1:Ohfzqv/+t2t350TFNlHNBIXc42lOdv+3MkBtozYxMUY= codeberg.org/aryak/libmozhi v0.0.0-20231129121457-7f83a4201d39 h1:XmDg0Fm0WL8xGDD26eo/RnMwuxR1R85xJsmjtUFpWwc= codeberg.org/aryak/libmozhi v0.0.0-20231129121457-7f83a4201d39/go.mod h1:Ohfzqv/+t2t350TFNlHNBIXc42lOdv+3MkBtozYxMUY= +codeberg.org/aryak/libmozhi v0.0.0-20231129140947-7c9580a1ea2d h1:CxJsKo6EHksw6yBWX02uDnNntbszkybgPuN0PzGyBNA= +codeberg.org/aryak/libmozhi v0.0.0-20231129140947-7c9580a1ea2d/go.mod h1:Ohfzqv/+t2t350TFNlHNBIXc42lOdv+3MkBtozYxMUY= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= diff --git a/utils/main.go b/utils/main.go index 98746f2..0c6c790 100644 --- a/utils/main.go +++ b/utils/main.go @@ -1,10 +1,10 @@ package utils import ( - "github.com/gofiber/fiber/v2" - "regexp" - "os" "codeberg.org/aryak/libmozhi" + "github.com/gofiber/fiber/v2" + "os" + "regexp" ) func GetQueryOrFormValue(c *fiber.Ctx, key string) string {