services

package
v0.0.0-...-66b2d06 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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