Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderService ¶
type OrderService interface {
Submit(ctx context.Context, order models.Order) (models.Order, error)
}
func NewOrderService ¶
func NewOrderService( logger *zap.SugaredLogger, entgoClient entities.EntgoClient, orderRepository repositories.OrderRepository, orderPublisher publishers.OrderPublisher) (OrderService, error)
Click to show internal directories.
Click to hide internal directories.