Documentation ¶
Index ¶
- type OrderService
- func (orderSvc *OrderService) Create(ctx context.Context, order *gormer.Order) error
- func (orderSvc *OrderService) Delete(ctx context.Context, condition *gormer.OrderOptions) error
- func (orderSvc *OrderService) List(ctx context.Context, pageNumber, pageSize int, condition *gormer.OrderOptions) ([]gormer.Order, int64, error)
- func (orderSvc *OrderService) Update(ctx context.Context, updated, condition *gormer.OrderOptions) error
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) 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
Click to show internal directories.
Click to hide internal directories.