summaryrefslogtreecommitdiff
path: root/sheet.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-08-11 00:36:14 +0800
committerxuri <xuri.me@gmail.com>2019-08-11 00:36:14 +0800
commit9c70d0ac868f66badf2663cc7b4b3c46d5411131 (patch)
tree4d2279b057fc9a0642751f3928e35846d6be24b5 /sheet.go
parentadc4aed472601440c0dced25b1378cb090829419 (diff)
Documentation updated, Go 1.10+ required
Diffstat (limited to 'sheet.go')
-rw-r--r--sheet.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/sheet.go b/sheet.go
index 935deac..ed6d888 100644
--- a/sheet.go
+++ b/sheet.go
@@ -5,7 +5,7 @@
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excelâ„¢ 2007 and later. Support save file without losing original
-// charts of XLSX. This library needs Go version 1.8 or later.
+// charts of XLSX. This library needs Go version 1.10 or later.
package excelize
@@ -740,9 +740,7 @@ func (f *File) searchSheet(name, value string, regSearch bool) ([]string, error)
result []string
r xlsxRow
)
- xml.NewDecoder(bytes.NewReader(f.readXML(name)))
d := f.sharedStringsReader()
-
decoder := xml.NewDecoder(bytes.NewReader(f.readXML(name)))
for {
token, _ := decoder.Token()