diff options
author | xuri <xuri.me@gmail.com> | 2018-12-05 00:27:19 +0800 |
---|---|---|
committer | Shane Mulligan <mullikine@gmail.com> | 2018-12-11 15:05:15 +1300 |
commit | 81b43da7b6b5b34f408f0d785a6c798ddd3b6124 (patch) | |
tree | d7fca8e0d1252c910a2a92cdee1e83a703dcdc59 /sheet.go | |
parent | b89f75c8968e07f41cb7e44a4bbad493cd9e051a (diff) |
Fix comments according to best practices by effective go
Diffstat (limited to 'sheet.go')
-rw-r--r-- | sheet.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -118,7 +118,7 @@ func trimCell(column []xlsxC) []xlsxC { return col[0:i] } -// Read and update property of contents type of XLSX. +// setContentTypes; Read and update property of contents type of XLSX. func (f *File) setContentTypes(index int) { content := f.contentTypesReader() content.Overrides = append(content.Overrides, xlsxOverride{ @@ -127,7 +127,7 @@ func (f *File) setContentTypes(index int) { }) } -// Update sheet property by given index. +// setSheet; Update sheet property by given index. func (f *File) setSheet(index int, name string) { var xlsx xlsxWorksheet xlsx.Dimension.Ref = "A1" @@ -209,7 +209,7 @@ func (f *File) setAppXML() { f.saveFileList("docProps/app.xml", []byte(templateDocpropsApp)) } -// Some tools that read XLSX files have very strict requirements about the +// replaceRelationshipsNameSpaceBytes; Some tools that read XLSX files have very strict requirements about the // structure of the input XML. In particular both Numbers on the Mac and SAS // dislike inline XML namespace declarations, or namespace prefixes that don't // match the ones that Excel itself uses. This is a problem because the Go XML |