Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotfoundError error = errors.New("product not found")
Functions ¶
This section is empty.
Types ¶
type Product ¶
type ProductDB ¶
type ProductDB struct {
// contains filtered or unexported fields
}
func NewProductDB ¶
func NewProductDB(c currency.CurrencyClient) *ProductDB
func (*ProductDB) AddProduct ¶
func (*ProductDB) GetProductById ¶
func (*ProductDB) GetProducts ¶
Click to show internal directories.
Click to hide internal directories.