From 27e7e0083c7fbc5a8fbcefbe59d775bf94e9c024 Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Fri, 30 Aug 2019 12:39:55 +0200 Subject: [PATCH] [goimports] Changed formatting. --- getArticles.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)