From 956a4627d1f2b78172eaaf6078209d4cf8e64ce2 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Mon, 5 Sep 2016 10:44:32 +0800 Subject: Fix issue #4 use builtin `map` instead of home-built. --- cell.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cell.go') diff --git a/cell.go b/cell.go index 6788daf..ecfc5ca 100644 --- a/cell.go +++ b/cell.go @@ -7,7 +7,7 @@ import ( ) // GetCellValue provide function get value from cell by given sheet index and axis in XLSX file -func GetCellValue(file []FileList, sheet string, axis string) string { +func GetCellValue(file map[string]string, sheet string, axis string) string { axis = strings.ToUpper(axis) var xlsx xlsxWorksheet row := getRowIndex(axis) -- cgit v1.2.1