2025-01-14 13:09:25 +08:00
|
|
|
// Code generated by Wire. DO NOT EDIT.
|
|
|
|
|
|
|
|
//go:generate go run -mod=mod github.com/google/wire/cmd/wire
|
|
|
|
//go:build !wireinject
|
|
|
|
// +build !wireinject
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2025-01-20 00:11:11 +08:00
|
|
|
"gitea.youtukeji.com.cn/xiabin/youtu_ecpm/api/gin"
|
|
|
|
"gitea.youtukeji.com.cn/xiabin/youtu_ecpm/dao/query"
|
|
|
|
"gitea.youtukeji.com.cn/xiabin/youtu_ecpm/server"
|
2025-01-14 13:09:25 +08:00
|
|
|
"go.uber.org/zap"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Injectors from wire.go:
|
|
|
|
|
|
|
|
// wireApp init kratos application.
|
|
|
|
func wireApp(log *zap.Logger, q *query.Query) (*server.EcpmApp, func(), error) {
|
|
|
|
httpServer := ecpm_httpserver.NewHttpServer(log, q)
|
|
|
|
ecpmApp := server.NewEcpmApp(httpServer)
|
|
|
|
return ecpmApp, func() {
|
|
|
|
}, nil
|
|
|
|
}
|