...
|
...
|
@@ -89,6 +89,7 @@ func NewServiceContext(c config.Config) *ServiceContext { |
|
|
ArticleRepository: repository.NewArticleRepository(cache.NewCachedRepository(mlCache)),
|
|
|
ArticleSectionRepository: repository.NewArticleSectionRepository(cache.NewCachedRepository(mlCache)),
|
|
|
ArticleAndTagRepository: repository.NewArticleAndTagRepository(cache.NewCachedRepository(mlCache)),
|
|
|
ArticleCategoryRepository: repository.NewArticleCategoryRepository(cache.NewCachedRepository(mlCache)),
|
|
|
|
|
|
CompanyRepository: repository.NewCompanyRepository(cache.NewCachedRepository(mlCache)),
|
|
|
DepartmentRepository: repository.NewDepartmentRepository(cache.NewCachedRepository(mlCache)),
|
...
|
...
|
|