xkcd-go

Golang tool to read latest, random, or a specific xkcd comic (and download it too).
git clone http://git.hanabi.in/repos/xkcd-go.git
Log | Files | Refs | README | LICENSE

xkcd-resp.go (412B)


      1 package xkcd
      2 
      3 type xkcdResp struct {
      4 	Month      string `json:"month"`
      5 	Num        int    `json:"num"`
      6 	Link       string `json:"link"`
      7 	Year       string `json:"year"`
      8 	News       string `json:"news"`
      9 	SafeTitle  string `json:"safe_title"`
     10 	Transcript string `json:"transcript"`
     11 	Alt        string `json:"alt"`
     12 	Img        string `json:"img"`
     13 	Title      string `json:"title"`
     14 	Day        string `json:"day"`
     15 }