Documentation
¶
Index ¶
Constants ¶
View Source
const ( ACTIVE = "active" COMPLETED = "completed" ARCHIVED = "archived" )
Task status enumeration
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { Id int `json:"id"` Name string `json:"name"` ImageSrc string `json:"imageSrc"` ImageForHero string `json:"imageForHero"` Description string `json:"description"` Price int `json:"price"` Category string `json:"category"` Armor int `json:"armor"` Damage int `json:"damage"` Rarity string `json:"rarity"` State ItemState `json:"state"` }
Item represents single in-game item.
type Task ¶
type Task struct { Id int64 `json:"id"` UserId int64 `json:"userId"` Name Name `json:"name"` Description Text `json:"description,omitempty"` CreatedOn Date `json:"createdOn"` DueDate Date `json:"dueDate"` SchtirlichHumorescue Text `json:"schtirlichHumorescue,omitempty"` Labels Labels `json:"labels"` Status Status `json:"status"` }
Task represents task at all layers
Click to show internal directories.
Click to hide internal directories.