repository

package
v0.0.0-...-9bcb3a8 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cart

type Cart interface {
	Create(ctx context.Context, data *dto.CreateCartReq) error
	FindManyByUserId(ctx context.Context, userId string, limit, offset int) (*dto.CartWithCountRes, error)
	CountByUserId(ctx context.Context, userId string) (totalCart int64, err error)
	DeleteItem(ctx context.Context, data *dto.DeleteItemCartReq) error
}

Jump to

Keyboard shortcuts

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