func NewServer(cfg Config) (*grpc.Server, func(), error) {
	wire.Build(
		wire.FieldsOf(new(Config), "DB", "Logger"),
		NewTenantService,
		wire.Bind(new(TenantServiceServer), new(*TenantService)),
		newServer,
	)
	return nil, nil, nil
}
// NewServer creates a server from config.
NewServer creates a server from config.
// NewServer creates a server from config .
func NewServer(cfg Config) (*grpc.Server, func(), error) {
	wire.Build(
		wire.FieldsOf(new(Config), "DB", "Logger"),
		NewTenantService,
		wire.Bind(new(TenantServiceServer), new(*TenantService)),
		newServer,
	)
	return nil, nil, nil
}
func NewServer ( cfg Config ) ( * grpc . Server , func ( ) , error ) { wire . Build ( wire . FieldsOf ( new ( Config ) , " " , " " ) , NewTenantService , wire . Bind ( new ( TenantServiceServer ) , new ( * TenantService ) ) , newServer , ) return nil , nil , nil }
NewServer creates a server from config.
NewServer creates a server from config .