Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) CreateArticle ¶
func (_m *Repository) CreateArticle(a *model.Article) error
CreateArticle provides a mock function with given fields: a
func (*Repository) GetAllArticle ¶
func (_m *Repository) GetAllArticle() ([]*model.Article, error)
GetAllArticle provides a mock function with given fields:
func (*Repository) GetArticleByID ¶
func (_m *Repository) GetArticleByID(id int) (*model.Article, error)
GetArticleByID provides a mock function with given fields: id
type Usecase ¶
Usecase is an autogenerated mock type for the Usecase type
func (*Usecase) CreateArticle ¶
CreateArticle provides a mock function with given fields: a
func (*Usecase) GetAllArticle ¶
GetAllArticle provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.