Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dress ¶
type Dress struct { ID string `json:"id"` Title string `json:"title"` Price float64 `json:"price"` Currency string `json:"currency"` Description string `json:"description"` Sku string `json:"sku"` Stock int `json:"stock"` Owner *Seller `json:"owner"` CreateAt time.Time `json:"createAt"` Sizes []string `json:"sizes"` Colors []string `json:"colors"` }
func (Dress) IsSearchResult ¶
func (Dress) IsSearchResult()
type Food ¶
type Food struct { ID string `json:"id"` Title string `json:"title"` Price float64 `json:"price"` Currency string `json:"currency"` Description string `json:"description"` Sku string `json:"sku"` Stock int `json:"stock"` Owner *Seller `json:"owner"` CreateAt time.Time `json:"createAt"` ExpireAt time.Time `json:"expireAt"` }
func (Food) IsSearchResult ¶
func (Food) IsSearchResult()
type NewSoftware ¶
type SearchResult ¶
type SearchResult interface {
IsSearchResult()
}
type Software ¶
type Software struct { ID string `json:"id"` Title string `json:"title"` Price float64 `json:"price"` Currency string `json:"currency"` Description string `json:"description"` Sku string `json:"sku"` Stock int `json:"stock"` Owner *Seller `json:"owner"` CreateAt time.Time `json:"createAt"` License string `json:"license"` Code string `json:"code"` }
func (Software) IsSearchResult ¶
func (Software) IsSearchResult()
Click to show internal directories.
Click to hide internal directories.