Documentation ¶
Index ¶
Constants ¶
View Source
const INFO = "info.0.json"
INFO is xkcd API suffix for comic.
View Source
const URL = "http://xkcd.com"
URL is xkcd root URL.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
Cache represents cache of xkcd comics information.
func NewCache ¶
func NewCache() *Cache
NewCache creates new pointer to Cache structure and initializes internal map.
Click to show internal directories.
Click to hide internal directories.