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