service

package
v0.0.0-...-b03bf0d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL