Skip to content

Commit

Permalink
removed depr. import
Browse files Browse the repository at this point in the history
  • Loading branch information
m10x committed Dec 6, 2023
1 parent 167741c commit d0e9598
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/recon.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"errors"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"strings"
Expand Down Expand Up @@ -1220,7 +1219,7 @@ func GetWebsite(requrl string, setStatusCode bool, cacheBuster bool) (WebsiteStr

defer resp.Body.Close()

body, err := ioutil.ReadAll(resp.Body)
body, err := io.ReadAll(resp.Body)
if err != nil {
msg := fmt.Sprintf("%s: ioutil.ReadAll: %s", errorString, err.Error())
Print(msg+"\n", Red)
Expand Down

0 comments on commit d0e9598

Please sign in to comment.