房间热播计算任务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
896 B

// Code generated by Wire. DO NOT EDIT.
//go:generate go run github.com/google/wire/cmd/wire
//go:build !wireinject
// +build !wireinject
package main
import (
"git.gz.internal.jumaiyx.cn/jm/jmproto/conf"
"git.gz.internal.jumaiyx.cn/job/room-hot-compute/internal/biz"
"git.gz.internal.jumaiyx.cn/job/room-hot-compute/internal/data"
"git.gz.internal.jumaiyx.cn/job/room-hot-compute/pkg/room"
"git.gz.internal.jumaiyx.cn/pkg/log"
)
// Injectors from wire.go:
// wireApp init kratos application.
func wireApp(server *conf.Server, confData *conf.Data, logger log.Logger) (*biz.Biz, func(), error) {
roomClient, err := room.NewRoomService(logger)
if err != nil {
return nil, nil, err
}
dataData, cleanup, err := data.NewData(confData, logger)
if err != nil {
return nil, nil, err
}
bizBiz := biz.NewBiz(logger, roomClient, dataData)
return bizBiz, func() {
cleanup()
}, nil
}