Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComicInfo ¶ added in v1.1.0
type ComicInfo struct {
Name string `json:"name"`
About string `json:"about"`
Link string `json:"link"`
Logo string `json:"logo"`
}
ComicInfo : Model for basic information of comic
type PHDComic ¶ added in v1.1.0
type PHDComic struct {
Date string `json:"date"`
ComicID int `json:"comicid"`
Link string `json:"link"`
Title string `json:"title"`
Image string `json:"img"`
}
PHDComic : Model for phd comic
type Version ¶
type Version struct {
Timestamp time.Time `json:"timestamp"`
Name string `json:"name"`
Version string `json:"version"`
Comics []ComicInfo `json:"comics"`
}
Version : Model for version
type XKCD ¶
type XKCD struct {
Day string `json:"day"`
Month string `json:"month"`
Year string `json:"year"`
Num int `json:"num"`
Link string `json:"link"`
Title string `json:"title"`
SafeTitle string `json:"safe_title"`
Image string `json:"img"`
Alt string `json:"alt"`
Transcript string `json:"transcript"`
News string `json:"news"`
}
XKCD : Model for xkcd comic
Click to show internal directories.
Click to hide internal directories.