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
633 B
20 lines
633 B
//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-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" |
|
"git.gz.internal.jumaiyx.cn/pkg/log" |
|
"github.com/google/wire" |
|
) |
|
|
|
// wireApp init kratos application. |
|
func wireApp(*conf.Server, *conf.Data, log.Logger) (*biz.Biz, func(), error) { |
|
panic(wire.Build(biz.ProviderBizSet, data.ProviderDataSet, pkg.ProviderPkgSet)) |
|
}
|
|
|