Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HackerNews ¶
type HackerNews interface { // GetFeed returns a list of feeds given params. GetFeed(name string, page int) (interface{}, error) // GetItem returns a feed given params. GetItem(id string) (interface{}, error) }
HackerNews is a interface of HackerNews.
func NewHackerNewsAPI ¶
func NewHackerNewsAPI(baseUrl string) HackerNews
NewHackerNewsAPI returns a new HackerNews via API.
Click to show internal directories.
Click to hide internal directories.