service

package
v0.0.0-...-49a7f0e Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOrderService

func NewOrderService(orderRepository OrderRepository) *orderService

Types

type OrderRepository

type OrderRepository interface {
	FindByID(ctx context.Context, id string) (*ordermgr.Order, error)
	Save(ctx context.Context, order *ordermgr.Order) (*ordermgr.Order, error)
}

Jump to

Keyboard shortcuts

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