youtu_ecpm/wire_gen.go
2025-01-20 00:14:43 +08:00

25 lines
627 B
Go

// 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 (
"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"
"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
}