mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-06-27 15:38:23 +00:00
Replace io/ioutil with io
This commit is contained in:
parent
dd78541a46
commit
e1a694556c
@ -1,7 +1,7 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"io"
|
||||
"net/http"
|
||||
"strings"
|
||||
"sync"
|
||||
@ -57,7 +57,7 @@ func (client *Client) FetchTag(tag string, sort string, page string) (Tag, error
|
||||
return Tag{}, err
|
||||
}
|
||||
|
||||
body, err := ioutil.ReadAll(res.Body)
|
||||
body, err := io.ReadAll(res.Body)
|
||||
if err != nil {
|
||||
return Tag{}, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user