Documentation ¶ Index ¶ type CustomerOrders func (co *CustomerOrders) Get(_ context.Context, _ auth.Identity) ([]*domain.Order, error) func (co *CustomerOrders) GetByID(_ context.Context, _ auth.Identity, orderID string) (*domain.Order, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type CustomerOrders ¶ type CustomerOrders struct{} CustomerOrders is the fake customer order adapter func (*CustomerOrders) Get ¶ func (co *CustomerOrders) Get(_ context.Context, _ auth.Identity) ([]*domain.Order, error) Get all orders for a customer func (*CustomerOrders) GetByID ¶ func (co *CustomerOrders) GetByID(_ context.Context, _ auth.Identity, orderID string) (*domain.Order, error) GetByID returns a single customer order Source Files ¶ View all Source files fakeOrderService.go Click to show internal directories. Click to hide internal directories.