Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct { ID int `json:"id"` Name string `json:"name"` Type string `json:"type"` Timestamps }
type AttributePaginated ¶
type AttributePaginated struct { Pagination Attributes []*Attribute `json:"attributes"` }
type Category ¶
type Category struct { ID int `json:"id"` Name string `json:"name"` Description string `json:"description"` Timestamps }
type CategoryPaginated ¶
type CategoryPaginated struct { Pagination Categories []*Category `json:"categories"` }
type CategoryProductsPaginated ¶
type CategoryProductsPaginated struct { Pagination Category Products []*Product `json:"products"` }
type Image ¶
type Image struct { ID int `json:"id"` Name string `json:"name"` ImageUrl string `json:"image_url"` ThumbnailUrl string `json:"thumbnail_url"` Timestamps }
type Pagination ¶
type Product ¶
type Product struct { ID int `json:"id"` Name string `json:"name"` Description string `json:"description"` CategoryID int `json:"category_id"` Category *Category `json:"category"` Images []*Image `json:"images"` ProductVariants []*ProductVariant `json:"product_variants"` Timestamps }
type ProductPaginated ¶
type ProductPaginated struct { Pagination Products []*Product `json:"products"` }
type ProductVariant ¶
type ProductVariantPaginated ¶
type ProductVariantPaginated struct { Pagination Product ProductVariants []*ProductVariant `json:"product_variants"` }
type Timestamps ¶
Click to show internal directories.
Click to hide internal directories.