database

package
v0.0.0-...-1d80aea Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MPL-2.0 Imports: 5 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 {
	Collection *mongo.Collection
}

func NewOrderRepository

func NewOrderRepository(collection *mongo.Collection) *OrderRepository

func (*OrderRepository) List

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

func (*OrderRepository) Save

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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