Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderService ¶
type OrderService interface { FindAll(ctx context.Context) (domain.OrderList, error) FindOne(ctx context.Context, orderID string) (domain.Order, error) Create(ctx context.Context, order domain.Order) (domain.Order, error) Update(ctx context.Context, order domain.Order) (domain.Order, error) Delete(ctx context.Context, orderID string) (bool, error) }
OrderService
func NewOrderService ¶
func NewOrderService(repository repositories.OrderRepository) OrderService
NewOrderService
Click to show internal directories.
Click to hide internal directories.