Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStories ¶
Types ¶
type Story ¶
type Story struct {
By string `json:"by"`
Descendants int `json:"descendants"`
ID int `json:"id"`
Kids []int `json:"kids"`
Score int `json:"score"`
Time int `json:"time"`
Title string `json:"title"`
Type string `json:"type"`
URL string `json:"url"`
}
Story represents a story submission on HackerNews
func (*Story) CommentLink ¶ added in v0.26.0
CommentLink return the link to the HackerNews story comments page
Click to show internal directories.
Click to hide internal directories.