diff --git a/blogroll.go b/blogroll.go index edb4b8c..c1bcfcb 100644 --- a/blogroll.go +++ b/blogroll.go @@ -123,7 +123,7 @@ func cacheOutlines(blog string, outlines []*opml.Outline) { DateCreated: time.Now().UTC(), Outlines: outlines, }) - cachePersistently("blogroll_"+blog, opmlBuffer.Bytes()) + _ = cachePersistently("blogroll_"+blog, opmlBuffer.Bytes()) } func loadOutlineCache(blog string) []*opml.Outline { diff --git a/blogstats.go b/blogstats.go index de5ccd6..b34f61f 100644 --- a/blogstats.go +++ b/blogstats.go @@ -126,7 +126,7 @@ func getBlogStats(blog string) (data map[string]interface{}, err error) { func cacheBlogStats(blog string, stats map[string]interface{}) { jb, _ := json.Marshal(stats) - cachePersistently("blogstats_"+blog, jb) + _ = cachePersistently("blogstats_"+blog, jb) } func loadBlogStatsCache(blog string) (stats map[string]interface{}) { @@ -142,5 +142,5 @@ func loadBlogStatsCache(blog string) (stats map[string]interface{}) { } func resetBlogStats(blog string) { - clearPersistentCache("blogstats_" + blog) + _ = clearPersistentCache("blogstats_" + blog) } diff --git a/persistantCache.go b/persistantCache.go index c8415be..9882080 100644 --- a/persistantCache.go +++ b/persistantCache.go @@ -17,7 +17,7 @@ func retrievePersistentCache(key string) (data []byte, err error) { } else if err != nil { return nil, err } else { - row.Scan(&data) + err = row.Scan(&data) return data, err } }