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) AddCategory ¶
func (_m *Repository) AddCategory(_a0 category.Category) error
AddCategory provides a mock function with given fields: _a0
func (*Repository) FindCategoryById ¶
func (_m *Repository) FindCategoryById(id int) (*category.Category, error)
FindCategoryById provides a mock function with given fields: id
func (*Repository) UpdateCategory ¶
func (_m *Repository) UpdateCategory(_a0 category.Category) error
UpdateCategory provides a mock function with given fields: _a0
type Service ¶
Service is an autogenerated mock type for the Service type
func (*Service) AddCategory ¶
func (_m *Service) AddCategory(_a0 category.CreateCategoryData) error
AddCategory provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.