diff options
author | xuri <xuri.me@gmail.com> | 2022-03-24 00:19:30 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-03-24 00:19:30 +0800 |
commit | 8a335225c705232fe1174755a1b1ea475456b864 (patch) | |
tree | 7bae0af1f1ce3459ad429d4fbca60a5e9b35a0e1 /comment.go | |
parent | 139ee4c4b0c86dffbdca77da346e85a4cbd97b0c (diff) |
Format code, update documentation and remove exported variable `XMLHeaderByte`
Diffstat (limited to 'comment.go')
-rw-r--r-- | comment.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ func (f *File) GetComments() (comments map[string][]Comment) { target = "xl" + strings.TrimPrefix(target, "..") } if d := f.commentsReader(strings.TrimPrefix(target, "/")); d != nil { - sheetComments := []Comment{} + var sheetComments []Comment for _, comment := range d.CommentList.Comment { sheetComment := Comment{} if comment.AuthorID < len(d.Authors.Author) { |