diff --git a/newreleases.go b/newreleases.go index c50bd29..949a9b6 100644 --- a/newreleases.go +++ b/newreleases.go @@ -11,7 +11,6 @@ import ( "encoding/json" "errors" "io" - "io/ioutil" "net/http" "net/url" "strings" @@ -194,7 +193,7 @@ func drain(r io.ReadCloser) { _ = recover() }() - _, _ = io.Copy(ioutil.Discard, r) + _, _ = io.Copy(io.Discard, r) r.Close() }() }