Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindClosestColor ¶
This method finds the closest color for a given RGB tuple and returns the name of the color in given mode
func ReverseMap ¶
This method creates a reverse map
func UpcaseInitial ¶
Types ¶
type Artwork ¶
type Artwork struct { Id int64 `json:"-" datastore:"-"` Aid string `json:"aid"` Hash string `json:"hash"` Url string `json:"url"` UrlSmall string `json:"url_small"` Width int `json:"width"` Height int `json:"height"` Ratio float32 `json:"ratio"` Caption string `json:"caption"` Subtitle string `json:"subtitle"` Hidden bool `json:"-"` Free bool `json:"-"` Silver int `json:"silver"` Grey int `json:"grey"` Black int `json:"black"` Red int `json:"red"` Maroon int `json:"maroon"` Orange int `json:"orange"` Yellow int `json:"yellow"` Olive int `json:"olive"` Lime int `json:"lime"` Green int `json:"green"` Aqua int `json:"aqua"` Teal int `json:"teal"` Blue int `json:"blue"` Fuchsia int `json:"fuchsia"` Purple int `json:"purple"` White int `json:"white"` Created time.Time `json:"-"` Updated time.Time `json:"-"` }
type User ¶
type User struct { Id int64 `json:"id" datastore:"-"` Gid string `json:"gid"` Did string `json:"did"` Name string `json:"name"` Language string `json:"lang"` Role string `json:"role"` Score int `json:"score"` Downloads int `json:"downloads"` Created time.Time `json:"-"` Updated time.Time `json:"-"` }
Click to show internal directories.
Click to hide internal directories.