Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type Comic ¶
type Comic struct { Title string `json:"title"` Number int `json:"num"` Alt string `json:"alt,omitempty"` Transcript string `json:"transcript,omitempty"` ImgUrl string `json:"img_url"` Explanation string `json:"explanation"` Date int64 `json:"date"` }
Combined useful data from both sources
type ExplainXkcd ¶
type ExplainXkcd struct {
Explanation string `json:"explanation"`
}
data from explainxkcd.com
type Xkcd ¶
type Xkcd struct { Title string `json:"title"` SafeTitle string `json:"safe_title,omitempty"` Number int `json:"num"` Alt string `json:"alt,omitempty"` ImgUrl string `json:"img"` Transcript string `json:"transcript,omitempty"` Day string `json:"day"` Month string `json:"month"` Year string `json:"year"` }
data from xkcd.com
Click to show internal directories.
Click to hide internal directories.