Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IArticleService ¶
type IArticleService interface {
Fetch(ctx context.Context, createdDate time.Time, num int) ([]models.Article, error)
}
IArticleService represent the article's usecases
func NewArticleService ¶
func NewArticleService(a repo.IArticleRepo) IArticleService
NewArticleService will create new an articleUsecase object representation of domain.ArticleUsecase interface
Click to show internal directories.
Click to hide internal directories.