1
0
mirror of https://github.com/pbnjay/grate.git synced 2024-12-04 19:45:34 +02:00

of course when I backport they release 1.16...

This commit is contained in:
Jeremy Jay 2021-02-17 02:17:02 -05:00
parent 8709521063
commit 3cf8ad7b0f
2 changed files with 2 additions and 3 deletions

2
go.mod
View File

@ -1,3 +1,3 @@
module github.com/pbnjay/grate
go 1.15
go 1.16

View File

@ -11,7 +11,6 @@ import (
"encoding/binary"
"errors"
"io"
"io/ioutil"
"log"
"sync"
@ -67,7 +66,7 @@ func Open(filename string) (grate.Source, error) {
if err != nil {
return nil, grate.WrapErr(err, grate.ErrNotInFormat)
}
raw, err := ioutil.ReadAll(rdr)
raw, err := io.ReadAll(rdr)
if err != nil {
return nil, err
}