Documentation
¶
Index ¶
Constants ¶
View Source
const ITEM_URL_BASE = "https://hacker-news.firebaseio.com/v0/item"
Variables ¶
View Source
var FetchURL = func(itemId int64) (string, error) { return fmt.Sprintf("%s/%d.json", ITEM_URL_BASE, itemId), nil }
FetchURL is a variable that holds the function to construct the URL
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.