You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cls/internal/modules/article_module.go

19 lines
412 B
Go

package modules
import (
service "cls/internal/application/article"
repo "cls/internal/infrastructure/persistence/article"
"cls/internal/interfaces"
"cls/internal/interfaces/article"
"go.uber.org/fx"
)
var ArticleModule = fx.Module("ArticleModule",
fx.Provide(
interfaces.AsHandler(article.NewArticleHandle),
service.NewArticleResp,
service.NewArticleService,
repo.NewArticleRepositoryORM,
),
)