unity容器监听
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.

28 lines
691 B

2 years ago
// 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-server-clear/internal/biz"
"git.gz.internal.jumaiyx.cn/job/room-server-clear/pkg/room"
"git.gz.internal.jumaiyx.cn/pkg/log"
)
// Injectors from wire.go:
// wireApp init kratos application.
func wireApp(server *conf.Server, logger log.Logger) (*biz.Biz, func(), error) {
roomService, err := room.NewRoomService(logger)
if err != nil {
return nil, nil, err
}
bizBiz := biz.NewBiz(logger, roomService)
return bizBiz, func() {
}, nil
}