Skip to content

Commit 9c70d0a

Browse files
committed
Documentation updated, Go 1.10+ required
1 parent adc4aed commit 9c70d0a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+48
-47
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ install:
44
- go get -d -t -v ./... && go build -v ./...
55

66
go:
7-
- 1.9.x
87
- 1.10.x
98
- 1.11.x
109
- 1.12.x

adjust.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

calcchain.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

cell.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

cellmerged.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

chart.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

col.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

comment.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

datavalidation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

datavalidation_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

date.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

docProps.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

docProps_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

errors.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

excelize.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99
//
1010
// See https://xuri.me/excelize for more information about this package.
1111
package excelize

file.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

lib.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

picture.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

rows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

shape.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

sheet.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

@@ -740,9 +740,7 @@ func (f *File) searchSheet(name, value string, regSearch bool) ([]string, error)
740740
result []string
741741
r xlsxRow
742742
)
743-
xml.NewDecoder(bytes.NewReader(f.readXML(name)))
744743
d := f.sharedStringsReader()
745-
746744
decoder := xml.NewDecoder(bytes.NewReader(f.readXML(name)))
747745
for {
748746
token, _ := decoder.Token()

sheetpr.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

sheetview.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

sparkline.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

styles.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

table.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

templates.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99
//
1010
// This file contains default templates for XML files we don't yet populated
1111
// based on content.

test/SharedStrings.xlsx

-1.99 KB
Binary file not shown.

vmlDrawing.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

xmlApp.go

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

1212
import "encoding/xml"
1313

14+
// xlsxProperties specifies to an OOXML document properties such as the
15+
// template used, the number of pages and words, and the application name and
16+
// version.
1417
type xlsxProperties struct {
1518
XMLName xml.Name `xml:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties Properties"`
1619
Template string
@@ -42,6 +45,8 @@ type xlsxProperties struct {
4245
DocSecurity int
4346
}
4447

48+
// xlsxVectorVariant specifies the set of hyperlinks that were in this
49+
// document when last saved.
4550
type xlsxVectorVariant struct {
4651
Content string `xml:",innerxml"`
4752
}
@@ -50,6 +55,7 @@ type xlsxVectorLpstr struct {
5055
Content string `xml:",innerxml"`
5156
}
5257

58+
// xlsxDigSig contains the signature of a digitally signed document.
5359
type xlsxDigSig struct {
5460
Content string `xml:",innerxml"`
5561
}

xmlCalcChain.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

xmlChart.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

xmlComments.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

xmlContentTypes.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

xmlCore.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

xmlDecodeDrawing.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

xmlDrawing.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

xmlSharedStrings.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

xmlStyles.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

xmlTable.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

xmlTheme.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package excelize providing a set of functions that allow you to write to
66
// and read from XLSX files. Support reads and writes XLSX file generated by
77
// Microsoft Excel™ 2007 and later. Support save file without losing original
8-
// charts of XLSX. This library needs Go version 1.8 or later.
8+
// charts of XLSX. This library needs Go version 1.10 or later.
99

1010
package excelize
1111

0 commit comments

Comments
 (0)