diff options
author | Ri Xu <xuri.me@gmail.com> | 2016-10-23 16:46:46 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2016-10-23 16:46:46 +0800 |
commit | 6185cd577df8223f4c8e4b239a046bdfe8d07fd9 (patch) | |
tree | e61d2978a0cd230f6f3a2745cfa791cf9680a491 /sheet.go | |
parent | 1a2570b873030458554d0c689e5b00ba16a8f110 (diff) |
Update go test.
Diffstat (limited to 'sheet.go')
-rw-r--r-- | sheet.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ func (f *File) setContentTypes(index int) { // Update sheet property by given index. func (f *File) setSheet(index int) { var xlsx xlsxWorksheet - xlsx.Dimension.Ref = "A1" + xlsx.Dimension.Ref = `A1` xlsx.SheetViews.SheetView = append(xlsx.SheetViews.SheetView, xlsxSheetView{ WorkbookViewID: 0, }) @@ -85,7 +85,7 @@ func (f *File) addXlsxWorkbookRels(sheet int) { content := f.readXlsxWorkbookRels() rID := len(content.Relationships) + 1 ID := bytes.Buffer{} - ID.WriteString("rId") + ID.WriteString(`rId`) ID.WriteString(strconv.Itoa(rID)) target := bytes.Buffer{} target.WriteString(`worksheets/sheet`) |