chore: go fmt
This commit is contained in:
parent
b34c9bc99f
commit
fe28b7c2ad
3
feed.go
3
feed.go
@ -373,6 +373,9 @@ func (feed *Feed) MakeHTTPRequest(ctx context.Context) (*http.Request, error) {
|
||||
if strings.Contains(feed.URI, "lublin.se") {
|
||||
return nil, fmt.Errorf("%w: permaban: %s", ErrPermanentlyDead, feed.URI)
|
||||
}
|
||||
if strings.Contains(feed.URI, "enotty.dk") {
|
||||
return nil, fmt.Errorf("%w: permaban: %s", ErrPermanentlyDead, feed.URI)
|
||||
}
|
||||
|
||||
req, err := http.NewRequestWithContext(ctx, "GET", feed.URI, nil)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user