Versions in this module Expand all Collapse all v1 v1.0.1 Oct 5, 2021 Changes in this version + type CartService interface + Add func(ctx context.Context, items *entity.CartItem) error + Checkout func(ctx context.Context, ID string) (*entity.Checkout, error) + type CartServiceImpl struct + CheckoutRuleFile string + func NewCartServiceImpl(stockService service.StockService, repo repository.CartRepository, ...) *CartServiceImpl + func (s *CartServiceImpl) Add(ctx context.Context, item *entity.CartItem) error + func (s *CartServiceImpl) Checkout(ctx context.Context, ID string) (*entity.Checkout, error)