Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotFoundError ¶
type NotFoundError struct{}
func (NotFoundError) Error ¶
func (e NotFoundError) Error() string
type Product ¶
type Product struct {
weaver.AutoMarshal
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Picture string `json:"picture"`
PriceUSD money.T `json:"priceUsd"`
// Categories such as "clothing" or "kitchen" that can be used to look up
// other related products.
Categories []string `json:"categories"`
}
func (*Product) WeaverMarshal ¶
func (*Product) WeaverUnmarshal ¶
Click to show internal directories.
Click to hide internal directories.