Documentation
¶
Index ¶
Constants ¶
View Source
const LteUnlimited = 999999
LteUnlimited is magic number used to represent unlimited number
Variables ¶
This section is empty.
Functions ¶
func ItemUniqueID ¶
Types ¶
type IntRange ¶
func NewIntRange ¶
type Item ¶
type Item struct { // must set an ID generated from ItemUniqueID ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` Status Status `json:"status"` URL string `json:"url"` AffiliateURL string `json:"affiliate_url"` Price int `json:"price"` ImageURLs []string `json:"image_urls"` AverageRating float64 `json:"average_rating"` ReviewCount int `json:"review_count"` CategoryID string `json:"category_id"` CategoryIDs []string `json:"category_ids"` CategoryNames []string `json:"category_names"` BrandName string `json:"brand_name"` Colors []string `json:"colors"` WidthRange *IntRange `json:"widthRange,omitempty"` DepthRange *IntRange `json:"depthRange,omitempty"` HeightRange *IntRange `json:"heightRange,omitempty"` JANCode string `json:"jan_code,omitempty"` Platform Platform `json:"platform"` }
func (*Item) IsIndexable ¶
Click to show internal directories.
Click to hide internal directories.