1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-06-17 00:07:54 +02:00

Libs: Update caniemail test data

This commit is contained in:
Ralph Slooten
2023-10-31 15:46:25 +13:00
parent 153eb3df53
commit f19ab57e06
2 changed files with 43 additions and 11 deletions

View File

@ -2,7 +2,7 @@ package htmlcheck
import (
"fmt"
"io/ioutil"
"io"
"net/http"
"net/url"
"strings"
@ -204,7 +204,7 @@ func downloadToBytes(url string) ([]byte, error) {
return nil, err
}
body, err := ioutil.ReadAll(resp.Body)
body, err := io.ReadAll(resp.Body)
if err != nil {
return nil, err
}