youtu_ecpm/wire_gen.go

25 lines
537 B
Go
Raw Normal View History

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 (
"go.uber.org/zap"
"youtu_ecpm/api/gin"
"youtu_ecpm/dao/query"
"youtu_ecpm/server"
)
// 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
}