add comment
This commit is contained in:
parent
77fd6b33ad
commit
7d2d4f0960
|
@ -37,6 +37,8 @@ func formatItem(item *gofeed.Item, tmpl *template.Template) (string, error) {
|
||||||
return html.UnescapeString(b.String()), err
|
return html.UnescapeString(b.String()), err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// parseFeeds parses the feeds at the given urls in parallel and returns them,
|
||||||
|
// along with any parsing errors.
|
||||||
func parseFeeds(urls []string) ([]*gofeed.Feed, []error) {
|
func parseFeeds(urls []string) ([]*gofeed.Feed, []error) {
|
||||||
fp := gofeed.NewParser()
|
fp := gofeed.NewParser()
|
||||||
var feedChs []chan *gofeed.Feed
|
var feedChs []chan *gofeed.Feed
|
||||||
|
|
Loading…
Reference in New Issue