database

package
v0.0.0-...-ee0fcfa Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderRepository

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

func NewOrderRepository

func NewOrderRepository(db *sql.DB) *OrderRepository

func (*OrderRepository) FindAll

func (r *OrderRepository) FindAll() ([]entity.Order, error)

func (*OrderRepository) Save

func (r *OrderRepository) Save(order *entity.Order) error

Jump to

Keyboard shortcuts

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