chore: RouterParams not needed
This commit is contained in:
parent
150c5c6cb2
commit
055f502114
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue