package
1.2.0
Repository: https://github.com/ww9/news.git
Documentation: pkg.go.dev

# Functions

MakeURLFetcher is the default HTTP client used to fetch feed XML.
New creates an Aggregator with default URL fetcher.
NewCustomRSSTranslator creates a new XML feed translator to be used by our instance of mmcdole/gofeed.
NewWithCustom allows for creating customized Aggregators such as custom URL fetcher for testing or with custom http.client minDomainRequestInterval is the minimum time we must wait between calls to same domain.

# Variables

Tpl is the default template used to generate index.html and page.html files.

# Structs

Aggregator is the core structure than fetches feeds and saves them to html.
CustomRSSTranslator is currently used to instruct mmcdole/gofeed to parse <comments> as item link in Reddit's feed.
Item represents a link retrieved from feed.