add comment

This commit is contained in:
filifa 2024-06-18 19:27:07 -05:00
parent 77fd6b33ad
commit 7d2d4f0960
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,8 @@ func formatItem(item *gofeed.Item, tmpl *template.Template) (string, error) {
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) {
fp := gofeed.NewParser()
var feedChs []chan *gofeed.Feed