postgres

package
v0.0.0-...-3a9fddd Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 6 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(tableName string, db *sql.DB) OrderRepository

func (OrderRepository) Find

func (r OrderRepository) Find(ctx context.Context, orderID string) (*domain.Order, error)

func (OrderRepository) Save

func (r OrderRepository) Save(ctx context.Context, order *domain.Order) error

func (OrderRepository) Update

func (r OrderRepository) Update(ctx context.Context, order *domain.Order) error

Jump to

Keyboard shortcuts

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