Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config contains params for the sink of the news from rss feeds
func LoadConfig ¶
LoadConfig returns a new shiny config
func (*Config) ValidateParams ¶
ValidateParams validates params for the config
type Post ¶
type Post struct {
// contains filtered or unexported fields
}
Post contains a title, a description and a url of a news
func (Post) GetPublishableText ¶
GetPublishableText returns ready for publishing post's text
func (Post) GetPublished ¶
GetPublished returns the published time of the post
func (Post) PublishedAfter ¶
PublishedAfter returns true if the post was published after the specified time
func (Post) YoungerThan ¶
YoungerThan returns true if this one post was published before the other one
Click to show internal directories.
Click to hide internal directories.