fix: missing embedding fx.In
This commit is contained in:
parent
e8af456476
commit
26f497f062
|
@ -4,11 +4,13 @@ import (
|
||||||
"code.gitea.io/sdk/gitea"
|
"code.gitea.io/sdk/gitea"
|
||||||
"git.lumeweb.com/LumeWeb/gitea-github-proxy/config"
|
"git.lumeweb.com/LumeWeb/gitea-github-proxy/config"
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
|
"go.uber.org/fx"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
"gorm.io/gorm"
|
"gorm.io/gorm"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RouteParams struct {
|
type RouteParams struct {
|
||||||
|
fx.In
|
||||||
Config *config.Config
|
Config *config.Config
|
||||||
Db *gorm.DB
|
Db *gorm.DB
|
||||||
Logger *zap.Logger
|
Logger *zap.Logger
|
||||||
|
|
Loading…
Reference in New Issue