Documentation ¶
Index ¶
- type ProductService
- type ProductsRepository
- func (_m *ProductsRepository) AddProduct(ID string, data string) error
- func (_m *ProductsRepository) CreateTable() error
- func (_m *ProductsRepository) DropTable() error
- func (_m *ProductsRepository) Exists() (bool, error)
- func (_m *ProductsRepository) GetAllProducts() ([]ec.ProductDTO, error)
- func (_m *ProductsRepository) GetProductByID(ID string) (ec.ProductDTO, error)
- func (_m *ProductsRepository) UpdateProductDataByID(ID string, newData string) error
- type StandsRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductService ¶
ProductService is an autogenerated mock type for the ProductService type
func (*ProductService) BuildProductImage ¶
func (_m *ProductService) BuildProductImage(dto *ec.ProductDTO) *ec.ProductDTO
BuildProductImage provides a mock function with given fields: dto
func (*ProductService) GetProductDetailsByID ¶
func (_m *ProductService) GetProductDetailsByID(ID string) (ec.ProductDTO, error)
GetProductDetailsByID provides a mock function with given fields: ID
func (*ProductService) GetProductJSONByID ¶
func (_m *ProductService) GetProductJSONByID(ID string) (string, error)
GetProductJSONByID provides a mock function with given fields: ID
type ProductsRepository ¶
ProductsRepository is an autogenerated mock type for the ProductsRepository type
func (*ProductsRepository) AddProduct ¶
func (_m *ProductsRepository) AddProduct(ID string, data string) error
AddProduct provides a mock function with given fields: ID, data
func (*ProductsRepository) CreateTable ¶
func (_m *ProductsRepository) CreateTable() error
CreateTable provides a mock function with given fields:
func (*ProductsRepository) DropTable ¶
func (_m *ProductsRepository) DropTable() error
DropTable provides a mock function with given fields:
func (*ProductsRepository) Exists ¶
func (_m *ProductsRepository) Exists() (bool, error)
Exists provides a mock function with given fields:
func (*ProductsRepository) GetAllProducts ¶
func (_m *ProductsRepository) GetAllProducts() ([]ec.ProductDTO, error)
GetAllProducts provides a mock function with given fields:
func (*ProductsRepository) GetProductByID ¶
func (_m *ProductsRepository) GetProductByID(ID string) (ec.ProductDTO, error)
GetProductByID provides a mock function with given fields: ID
func (*ProductsRepository) UpdateProductDataByID ¶
func (_m *ProductsRepository) UpdateProductDataByID(ID string, newData string) error
UpdateProductDataByID provides a mock function with given fields: ID, newData
type StandsRepository ¶
StandsRepository is an autogenerated mock type for the StandsRepository type
func (*StandsRepository) GetAllStands ¶
func (_m *StandsRepository) GetAllStands() ([]stands.StandDTO, error)
GetAllStands provides a mock function with given fields: