diff options
author | xuri <xuri.me@gmail.com> | 2019-04-21 00:04:42 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-04-21 00:20:19 +0800 |
commit | b45c4b094c6b2a7bfbc9944fc04c51c45b3454a3 (patch) | |
tree | cc5e073e1015fcd86e2edf7c06c6b4830f6bc5e5 /comment.go | |
parent | 0660f30cddc06de7883d40eb4f8e4945c18a0252 (diff) |
Add a check for maximum limit hyperlinks in a worksheet
typo fixed
Diffstat (limited to 'comment.go')
-rw-r--r-- | comment.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ func (f *File) getSheetComments(sheetID int) string { // author length is 255 and the max text length is 32512. For example, add a // comment in Sheet1!$A$30: // -// err := xlsx.AddComment("Sheet1", "A30", `{"author":"Excelize: ","text":"This is a comment."}`) +// err := f.AddComment("Sheet1", "A30", `{"author":"Excelize: ","text":"This is a comment."}`) // func (f *File) AddComment(sheet, cell, format string) error { formatSet, err := parseFormatCommentsSet(format) |