latest-api.go (153B)
1 package xkcd 2 3 // Return the URL to fetch the latest xkcd comic data. 4 func latestAPI() (api string) { 5 api = "https://xkcd.com/info.0.json" 6 return api 7 }
xkcd-goGolang 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 |