diff options
author | Ri Xu <xuri.me@gmail.com> | 2016-09-12 17:37:06 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2016-09-12 17:37:06 +0800 |
commit | 2e8fa2d39c8771c6f79c59e708f2b443302ade7f (patch) | |
tree | 7042d2231488b28c4b92468bcef795e89d6d5cf3 /cell.go | |
parent | cbfd6577536304f9b0b93edb7748475d8266fe19 (diff) |
Use conjunction with strings.Map to split Axis and update godoc.
Diffstat (limited to 'cell.go')
-rw-r--r-- | cell.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ import ( func (f *File) GetCellValue(sheet string, axis string) string { axis = strings.ToUpper(axis) var xlsx xlsxWorksheet - row := getRowIndex(axis) + row, _ := strconv.Atoi(strings.Map(intOnlyMapF, axis)) xAxis := row - 1 name := `xl/worksheets/` + strings.ToLower(sheet) + `.xml` xml.Unmarshal([]byte(f.readXML(name)), &xlsx) |