From 055f50211450333dd8c7a032b47cd048ed81bcbd Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 11 Feb 2024 14:59:07 -0500 Subject: [PATCH] chore: RouterParams not needed --- api/router.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/api/router.go b/api/router.go index 2e5cf65..15c9209 100644 --- a/api/router.go +++ b/api/router.go @@ -1,17 +1,10 @@ package api import ( - "git.lumeweb.com/LumeWeb/gitea-github-proxy/config" "github.com/gorilla/mux" - "go.uber.org/fx" ) -type RouterParams struct { - fx.In - Config *config.Config -} - -func NewRouter(params RouterParams) *mux.Router { +func NewRouter() *mux.Router { r := mux.NewRouter() return r