postgresql

package
v0.0.0-...-7544875 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Order

type Order struct {
	// contains filtered or unexported fields
}

Order represent orders tables

func NewOrder

func NewOrder(d db.DBTX) *Order

func (*Order) Create

func (o *Order) Create(ctx context.Context, params order.Order) (order.Order, error)

Create

func (*Order) CreateDetail

func (o *Order) CreateDetail(ctx context.Context, orders order.Order) error

func (*Order) FindPayload

func (o *Order) FindPayload(ctx context.Context, paymentTrxID string) (order.Order, error)

func (*Order) UpdateStatusOrder

func (o *Order) UpdateStatusOrder(ctx context.Context, paymentTrxID string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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