Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Product ¶
type Product struct { ID int `json:"id"` Name string `json:"name"` Description string `json:"description"` Price float32 `json:"price"` SKU string `json:"sku"` CreatedOn string `json:"-"` UpdatedOn string `json:"-"` DeletedOn string `json:"-"` }
Product defines the structure for an API product
type Products ¶
type Products []*Product
Products is a collection of Product
Click to show internal directories.
Click to hide internal directories.