chore: RouterParams not needed

This commit is contained in:
Derrick Hammer 2024-02-11 14:59:07 -05:00
parent 150c5c6cb2
commit 055f502114
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 8 deletions

View File

@ -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