- commit
- db81b91
- parent
- 54cc017
- author
- Eric Bower
- date
- 2022-12-22 03:57:31 +0000 UTC
chore(feeds): fix linter
1 files changed,
+5,
-0
+5,
-0
1@@ -156,7 +156,12 @@ func (f *Fetcher) ParseURL(fp *gofeed.Parser, url string) (*gofeed.Feed, error)
2 client := &http.Client{
3 Transport: &UserAgentTransport{http.DefaultTransport},
4 }
5+
6 req, err := http.NewRequest("GET", url, nil)
7+ if err != nil {
8+ return nil, err
9+ }
10+
11 resp, err := client.Do(req)
12 if err != nil {
13 return nil, err