Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSuchProduct = errors.New("no such product")
View Source
var ErrNoSuchUser = errors.New("no such user")
Functions ¶
func UnMarshalProduct ¶
func UnMarshalProduct(val map[string]string) (products []*model.CartProduct, err error)
Types ¶
type ProductManager ¶
type ProductManager struct {
ProductService productservice.Client
}
func (*ProductManager) GetProductInfo ¶
type UserManager ¶
type UserManager struct {
UserService userservice.Client
}
func (*UserManager) GetUserInfo ¶
func (u *UserManager) GetUserInfo(ctx context.Context, userId int64) error
Click to show internal directories.
Click to hide internal directories.