Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrderRequest ¶
type SaveCustomerRequest ¶
type Service ¶
type Service interface { SaveCustomer(ctx context.Context, req SaveCustomerRequest) error SaveApprovedOrder(ctx context.Context, req SaveApprovedOrderRequest) error GetOrderHistory(ctx context.Context, id uuid.UUID) (entity.OrderHistory, error) }
func New ¶
func New(repo repository.Repository, logger log.Logger, timeout time.Duration) Service
Click to show internal directories.
Click to hide internal directories.