From 3cf8ad7b0f7da4bdef963b2e4f9259c342f6acf4 Mon Sep 17 00:00:00 2001 From: Jeremy Jay Date: Wed, 17 Feb 2021 02:17:02 -0500 Subject: [PATCH] of course when I backport they release 1.16... --- go.mod | 2 +- xls/xls.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 2ecf06c..4273fea 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/pbnjay/grate -go 1.15 +go 1.16 diff --git a/xls/xls.go b/xls/xls.go index 3a4397c..14753c4 100644 --- a/xls/xls.go +++ b/xls/xls.go @@ -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 }