adapters

package
v0.0.0-...-0752838 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProductRepo

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

func NewProductRepo

func NewProductRepo() (*ProductRepo, error)

func (*ProductRepo) Add

func (repo *ProductRepo) Add(ctx context.Context, product *entity.Product) error

func (*ProductRepo) Get

func (repo *ProductRepo) Get(ctx context.Context, sku string) *entity.Product

func (*ProductRepo) Seen

func (repo *ProductRepo) Seen() []*entity.Product

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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