blanksDraft

package
v0.0.0-...-ad7bef5 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 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 OrderPostgres

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

func NewOrderPostgres

func NewOrderPostgres(db *sqlx.DB) *OrderPostgres

func (*OrderPostgres) CreateTable

func (r *OrderPostgres) CreateTable() error

func (*OrderPostgres) GetOrders

func (r *OrderPostgres) GetOrders() ([]models.Order, error)

func (*OrderPostgres) SaveOrder

func (r *OrderPostgres) SaveOrder(order models.Order) error

Jump to

Keyboard shortcuts

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