diff --git a/getArticles.go b/getArticles.go index 8c4b509..52b059a 100644 --- a/getArticles.go +++ b/getArticles.go @@ -13,8 +13,8 @@ import ( "strings" "time" - "github.com/mmcdole/gofeed" "github.com/jaytaylor/html2text" + "github.com/mmcdole/gofeed" ) // Get new articles for specified feed. @@ -72,7 +72,7 @@ func getArticles(feedURL string, max int, noExcerpt bool, filter []string) (stri h := fnv.New32a() _, err := h.Write([]byte(feedURL)) if err != nil { - log.Fatal("Error: Can't create hash for", feedURL + ":", err) + log.Fatal("Error: Can't create hash for", feedURL+":", err) } if _, err := os.Stat(cachePath); os.IsNotExist(err) { err = os.MkdirAll(cachePath, 0700)