Browse Source

comments to method File.ToSliceUnmerged, FileToSliceUnmerged

Nikolay Bystritskiy 8 years ago
parent
commit
83485b98f4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      file.go

+ 2 - 2
file.go

@@ -88,7 +88,7 @@ func FileToSlice(path string) ([][][]string, error) {
 // FileToSliceUnmerged is a wrapper around File.ToSliceUnmerged.
 // It returns the raw data contained in an Excel XLSX file as three
 // dimensional slice. Merged cells will be unmerged. Covered cells become the
-// value of its origins.
+// values of theirs origins.
 func FileToSliceUnmerged(path string) ([][][]string, error) {
 	f, err := OpenFile(path)
 	if err != nil {
@@ -348,7 +348,7 @@ func (f *File) ToSlice() (output [][][]string, err error) {
 
 // ToSliceUnmerged returns the raw data contained in the File as three
 // dimensional slice (s. method ToSlice).
-// The covered cells become the value of its origin cell.
+// A covered cell become the value of its origin cell.
 // Example: table where A1:A2 merged.
 // | 01.01.2011 | Bread | 20 |
 // |            | Fish  | 70 |