From f3dd3aee1ed1cca6881e371b21e244df1227e543 Mon Sep 17 00:00:00 2001 From: Tony Wong <63030915+tonytony2020@users.noreply.github.com> Date: Tue, 23 Jan 2024 18:58:47 +0800 Subject: [PATCH] fixed usages (#54) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3a5d50d..ef185bc 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ func main() { defer xl.Close() // Iterate on the rows of data - for row := range xl.ReadRows(e.Sheets[0]){ + for row := range xl.ReadRows(xl.Sheets[0]){ ... } } @@ -69,7 +69,7 @@ func main() { xl, _ := xlsxreader.NewReader(bytes) // Iterate on the rows of data - for row := range xl.ReadRows(e.Sheets[0]){ + for row := range xl.ReadRows(xl.Sheets[0]){ ... } }