//go:build wireinject // +build wireinject // The build tag makes sure the stub is not built in the final build. package main import ( "eino-project/internal/biz" "eino-project/internal/conf" "eino-project/internal/data" "eino-project/internal/data/repoimpl" "eino-project/internal/domain" "eino-project/internal/server" "eino-project/internal/service" "github.com/go-kratos/kratos/v2" "github.com/go-kratos/kratos/v2/log" "github.com/google/wire" ) // wireApp init kratos application. func wireApp(*conf.Server, *conf.Data, *conf.Bootstrap, log.Logger) (*kratos.App, func(), error) { panic(wire.Build( server.ProviderSet, data.ProviderSet, repoimpl.ProviderSet, biz.ProviderSet, service.ProviderSet, domain.ProviderSet, newApp, )) }