gitea-github-proxy/api/router.go

19 lines
267 B
Go

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 {
r := mux.NewRouter()
return r
}