product

package
v0.0.0-...-311251f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL