25 lines
537 B
Go
25 lines
537 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 (
|
||
|
"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
|
||
|
}
|