hackernews

package
v0.0.0-...-e613b9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL