Documentation ¶
Index ¶
- type CartMock
- func (c *CartMock) Create(ctx context.Context, data *dto.CreateCartReq) error
- func (c *CartMock) DeleteItem(ctx context.Context, data *dto.DeleteItemCartReq) error
- func (c *CartMock) GetByCurentUser(ctx context.Context, data *dto.GetCartByCurrentUserReq) (*dto.DataWithPaging[[]*dto.ProductCartRes], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CartMock ¶
func NewCartMock ¶
func NewCartMock() *CartMock
func (*CartMock) DeleteItem ¶
func (*CartMock) GetByCurentUser ¶
func (c *CartMock) GetByCurentUser(ctx context.Context, data *dto.GetCartByCurrentUserReq) (*dto.DataWithPaging[[]*dto.ProductCartRes], error)
Click to show internal directories.
Click to hide internal directories.