Skip to content

Instantly share code, notes, and snippets.

@slantview
Created January 9, 2014 01:23
Show Gist options
  • Select an option

  • Save slantview/8327812 to your computer and use it in GitHub Desktop.

Select an option

Save slantview/8327812 to your computer and use it in GitHub Desktop.
type Image struct {
Id string `json:"id" redis:"Id"`
Title string `json:"title" redis:"Title"`
Description string `json:"description" redis:"Description"`
DateTime int64 `json:"datetime" redis:"DateTime"`
Type string `json:"type" redis:"Type"`
Animated bool `json:"animated" redis:"Animated"`
Width int `json:"width" redis:"Width"`
Height int `json:"height" redis:"Height"`
Size int `json:"size" redis:"Size"`
Views int `json:"views" redis:"Views"`
Bandwidth int `json:"bandwidth" redis:"Bandwidth"`
DeleteHash string `json:"deletehash" redis:"DeleteHash"`
Section string `json:"section" redis:"Section"`
Link string `json:"link" redis:"Link"`
Likes int64 `json:"likes" redis:"Likes"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment