Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comic ¶
type Comic struct { Number int `json:"num"` Title string `json:"title"` SafeTitle string `json:"safe_title"` Alt string `json:"alt"` ImageURL string `json:"img"` Link string `json:"link"` News string `json:"news"` Transcript string `json:"transcript"` Year string `json:"year"` Month string `json:"month"` Day string `json:"day"` }
func ComicFromNum ¶
ComicFromNum creates a new Comic from the given comic number/ID.
func ComicFromURL ¶
ComicFromURL creates a new Comic from the given comic URL (info.0.json).
func LatestComic ¶
LatestComic returns the latest comic as a Comic object.
func RandomComic ¶
RandomComic returns a random comic as a Comic object.
Click to show internal directories.
Click to hide internal directories.