diff --git a/api/routes.go b/api/routes.go index b0db9e0..e15603c 100644 --- a/api/routes.go +++ b/api/routes.go @@ -4,11 +4,13 @@ import ( "code.gitea.io/sdk/gitea" "git.lumeweb.com/LumeWeb/gitea-github-proxy/config" "github.com/gorilla/mux" + "go.uber.org/fx" "go.uber.org/zap" "gorm.io/gorm" ) type RouteParams struct { + fx.In Config *config.Config Db *gorm.DB Logger *zap.Logger