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) AddProduct ¶
func (_m *Repository) AddProduct(_a0 product.Product) error
AddProduct provides a mock function with given fields: _a0
func (*Repository) FindProductById ¶
func (_m *Repository) FindProductById(id int) (*product.Product, error)
FindProductById provides a mock function with given fields: id
func (*Repository) UpdateProduct ¶
func (_m *Repository) UpdateProduct(_a0 product.Product) error
UpdateProduct provides a mock function with given fields: _a0
type Service ¶
Service is an autogenerated mock type for the Service type
func (*Service) AddProduct ¶
func (_m *Service) AddProduct(_a0 product.CreateProductData) error
AddProduct provides a mock function with given fields: _a0
func (*Service) UpdateProduct ¶
func (_m *Service) UpdateProduct(_a0 int, _a1 product.UpdateProduct) error
UpdateProduct provides a mock function with given fields: _a0, _a1
Click to show internal directories.
Click to hide internal directories.