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