diff options
Diffstat (limited to 'resources/image.go')
-rw-r--r-- | resources/image.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/image.go b/resources/image.go index 547b3305f..6deb0dfe7 100644 --- a/resources/image.go +++ b/resources/image.go @@ -23,7 +23,6 @@ import ( _ "image/gif" _ "image/png" "io" - "io/ioutil" "os" "path" "path/filepath" @@ -92,7 +91,7 @@ func (i *imageResource) getExif() *exif.ExifInfo { read := func(info filecache.ItemInfo, r io.ReadSeeker) error { meta := &imageMeta{} - data, err := ioutil.ReadAll(r) + data, err := io.ReadAll(r) if err != nil { return err } |