Documentation ¶
Index ¶
- func AddArticle(ctx context.Context, articleID string, quantity int) (bool, error)
- func CheckoutResolver(ctx context.Context) (bool, error)
- func CurrentCartResolver(ctx context.Context) (*model.Cart, error)
- func DecrementArticleResolver(ctx context.Context, articleID string) (bool, error)
- func FindCartById(ctx context.Context, id string) (*model.Cart, error)
- func IncrementArticleResolver(ctx context.Context, articleID string) (bool, error)
- func RemoveArticleResolver(ctx context.Context, articleID string) (bool, error)
- func ValidateCartResolver(ctx context.Context) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddArticle ¶
func RemoveArticleResolver ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.