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.
|
|
|
// 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/pkg/log"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Injectors from wire.go:
|
|
|
|
|
|
|
|
// wireApp init kratos application.
|
|
|
|
func wireApp(logger log.Logger, data *conf.Data, webhook *conf.Webhook) (*biz.Biz, func(), error) {
|
|
|
|
bizBiz, err := biz.NewBiz(logger, data, webhook)
|
|
|
|
if err != nil {
|
|
|
|
return nil, nil, err
|
|
|
|
}
|
|
|
|
return bizBiz, func() {
|
|
|
|
}, nil
|
|
|
|
}
|