Documentation ¶
Index ¶
Constants ¶
View Source
const ( ScraperHN = "hn" TypeHNShowHN = "show_hn" TypeHNAskHN = "ask_hn" TypeHNStory = "story" TypeHNJob = "job" TypeUnknown = "unknown" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Story ¶
type Story struct { ID int64 RefID string Url string By string PublishedAt time.Time UpdatedAt time.Time CreatedAt time.Time LastSeenFp time.Time Title string Type string Score int32 NumComments int32 Scraper string Deleted bool }
func Deserialize ¶
func (*Story) CommentsURL ¶
type StoryHistory ¶
type URLTransformer ¶
func NewFarsideTransformer ¶
func NewFarsideTransformer(host, service string) URLTransformer
Click to show internal directories.
Click to hide internal directories.