You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
执行依赖注入报错inject wireApp: no provider found for *invalid type
provider已经写入: 在server 包中
var ProviderSet = wire.NewSet(
NewGRPCServer,
NewHTTPServer,
NewCronWorker,
)
请帮忙解决一下或者给一个例子
The text was updated successfully, but these errors were encountered:
I'm Dosu, a friendly bot here to assist you with your issues, answer queries, and guide you on your journey towards becoming an amazing contributor. While we wait for a human maintainer, I'm here to make sure you're not left hanging. Looking forward to working with you! 😄
我想在newApp添加一个我自己写的cron server: cs *server.CronServer
func newApp(logger log.Logger, gs *grpc.Server, hs *http.Server, cs *server.CronServer) *kratos.App {
return kratos.New(
kratos.ID(id),
kratos.Name(Name),
kratos.Version(Version),
kratos.Metadata(map[string]string{}),
kratos.Logger(logger),
kratos.Server(
gs,
hs,
cs,
),
)
}
执行依赖注入报错inject wireApp: no provider found for *invalid type
provider已经写入: 在server 包中
var ProviderSet = wire.NewSet(
NewGRPCServer,
NewHTTPServer,
NewCronWorker,
)
请帮忙解决一下或者给一个例子
The text was updated successfully, but these errors were encountered: