Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemImagePage ¶
ItemImagePage represents an image page
func NewItemImagePage ¶
func NewItemImagePage(userID string, itemImage model.ItemImage) *ItemImagePage
NewItemImagePage returns new image page
type ItemsPage ¶
type ItemsPage struct { ui.Page ItemCategories []model.Category Categories []string Brands []string Colors []string SelectedCategory string SelectedBrand string SelectedColor string SelectedOutfit *model.Outfit }
ItemsPage represents an items page
type OutfitPage ¶
OutfitPage represents outfit page
func NewOutfitPage ¶
func NewOutfitPage(userID string, outfit model.Outfit) *OutfitPage
NewOutfitPage returns a new outfit page
type OutfitsPage ¶
OutfitsPage represents an outfits page
type WeightEntriesPage ¶
type WeightEntriesPage struct { ui.Page Weights []model.WeightEntry WeightChartDataJSON string }
WeightEntriesPage represents weights page
func NewWeightEntriesPage ¶
func NewWeightEntriesPage(userID string, weights []model.WeightEntry) (*WeightEntriesPage, error)
NewWeightEntriesPage returns a new weights page
type WeightPage ¶
type WeightPage struct { ui.Page Weight model.WeightEntry }
WeightPage represents weight page
func NewWeightPage ¶
func NewWeightPage(userID string, weight model.WeightEntry) *WeightPage
NewWeightPage returns a new weight page
Click to show internal directories.
Click to hide internal directories.