From 7363c1e3337c5f0d9c70cc8af7504b3f8c092ab4 Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 13 Oct 2022 00:02:53 +0800 Subject: Go 1.16 and later required, migration of deprecation package `ioutil` - Improving performance for stream writer `SetRow` function, reduces memory usage over and speedup about 19% - Update dependencies module - Update GitHub workflow --- excelize_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'excelize_test.go') diff --git a/excelize_test.go b/excelize_test.go index e685b66..12d155d 100644 --- a/excelize_test.go +++ b/excelize_test.go @@ -10,7 +10,6 @@ import ( _ "image/gif" _ "image/jpeg" _ "image/png" - "io/ioutil" "math" "os" "path/filepath" @@ -1388,7 +1387,7 @@ func prepareTestBook1() (*File, error) { return nil, err } - file, err := ioutil.ReadFile(filepath.Join("test", "images", "excel.jpg")) + file, err := os.ReadFile(filepath.Join("test", "images", "excel.jpg")) if err != nil { return nil, err } -- cgit v1.2.1