fake

package
v3.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

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

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

Jump to

Keyboard shortcuts

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