service

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: Apache-2.0 Imports: 7 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 struct {
	// contains filtered or unexported fields
}

func NewOrderService

func NewOrderService() *OrderService

func (*OrderService) Create

func (orderSvc *OrderService) Create(ctx context.Context, order *gormer.Order) error

func (*OrderService) Delete added in v0.5.2

func (orderSvc *OrderService) Delete(ctx context.Context, condition *gormer.OrderOptions) error

func (*OrderService) List

func (orderSvc *OrderService) List(ctx context.Context, pageNumber, pageSize int, condition *gormer.OrderOptions) ([]gormer.Order, int64, error)

func (*OrderService) Update

func (orderSvc *OrderService) Update(ctx context.Context, updated, condition *gormer.OrderOptions) error

Jump to

Keyboard shortcuts

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