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.
20 lines
536 B
20 lines
536 B
2 years ago
|
//go:build wireinject
|
||
|
// +build wireinject
|
||
|
|
||
|
// The build tag makes sure the stub is not built in the final build.
|
||
|
|
||
|
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"
|
||
|
"git.gz.internal.jumaiyx.cn/pkg/log"
|
||
|
"github.com/google/wire"
|
||
|
)
|
||
|
|
||
|
// wireApp init kratos application.
|
||
|
func wireApp(*conf.Server, log.Logger) (*biz.Biz, func(), error) {
|
||
|
panic(wire.Build(biz.ProviderBizSet, pkg.ProviderPkgSet))
|
||
|
}
|