Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { model.Base UserID string Name string Description string Color string Size string Brand string Price float64 Currency string Category string Season string Formal bool Quantity int Starred bool Code string URL string Material string CareInstructions string Images []ItemImage ImageID *string }
Item represents a wardrobe item
type Outfit ¶
type Outfit struct { model.Base UserID string Name string OutfitItems []OutfitItem }
Outfit represents an outfit
type OutfitItem ¶
OutfitItem represents an item that belongs to an outfit
type WeightEntry ¶
WeightEntry represents a weight measurement
func NewWeightEntryForm ¶
func NewWeightEntryForm(r *http.Request) (*WeightEntry, error)
NewWeightEntryForm returns an item with values parsed from HTTP form
Click to show internal directories.
Click to hide internal directories.