Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductUsecase ¶
type ProductUsecase interface { GetProductsByShopUserIdAndWarehouseStatus(ctx context.Context, shopUserId uint64, warehouseStatus model.WarehouseStatus) ([]*model.Product, error) CreateProduct(ctx context.Context, product *model.Product) (uint64, error) }
func NewProductUsecase ¶
func NewProductUsecase(rProduct product.ProductResource) ProductUsecase
Click to show internal directories.
Click to hide internal directories.