/
wire_chartRepository.go
22 lines (20 loc) · 1.05 KB
/
wire_chartRepository.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package chartRepo
import (
chartRepo "github.com/devtron-labs/template-cron-job/pkg/chartRepo"
chartRepoRepository "github.com/devtron-labs/template-cron-job/pkg/chartRepo/repository"
"github.com/google/wire"
)
var ChartRepositoryWireSet = wire.NewSet(
chartRepoRepository.NewChartRepoRepositoryImpl,
wire.Bind(new(chartRepoRepository.ChartRepoRepository), new(*chartRepoRepository.ChartRepoRepositoryImpl)),
chartRepoRepository.NewChartRefRepositoryImpl,
wire.Bind(new(chartRepoRepository.ChartRefRepository), new(*chartRepoRepository.ChartRefRepositoryImpl)),
chartRepoRepository.NewChartRepository,
wire.Bind(new(chartRepoRepository.ChartRepository), new(*chartRepoRepository.ChartRepositoryImpl)),
chartRepo.NewChartRepositoryServiceImpl,
wire.Bind(new(chartRepo.ChartRepositoryService), new(*chartRepo.ChartRepositoryServiceImpl)),
NewChartRepositoryRestHandlerImpl,
wire.Bind(new(ChartRepositoryRestHandler), new(*ChartRepositoryRestHandlerImpl)),
NewChartRepositoryRouterImpl,
wire.Bind(new(ChartRepositoryRouter), new(*ChartRepositoryRouterImpl)),
)