From fc13b491c706fc146d09dcb4012edf203afef747 Mon Sep 17 00:00:00 2001 From: CodeLingo Bot Date: Thu, 14 Mar 2019 15:47:11 +1300 Subject: [PATCH] Fix based on best practices from Effective Go Signed-off-by: CodeLingo Bot --- rss.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rss.go b/rss.go index c022b79..c9b730c 100644 --- a/rss.go +++ b/rss.go @@ -94,7 +94,7 @@ func Read(url string) (*Channel, error) { return ReadWithClient(url, http.DefaultClient) } -//Read without certificate check +//InsecureRead reads without certificate check func InsecureRead(url string) (*Channel, error) { tr := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true},