From 0e61ae7eda79e7b4e6501c64cf75dea0923489b3 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Wed, 31 Aug 2016 19:27:44 +0800 Subject: 1) Update readme file credits and go report badge added; 2) Remove use less function; 3) Update test file. --- lib.go | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib.go') diff --git a/lib.go b/lib.go index e3d7a4f..27b08e5 100644 --- a/lib.go +++ b/lib.go @@ -6,7 +6,6 @@ import ( "io" "log" "math" - "os" "regexp" "strconv" "strings" @@ -100,15 +99,6 @@ func titleToNumber(s string) int { return sum - 1 } -// Check the file exists -func pathExist(_path string) bool { - _, err := os.Stat(_path) - if err != nil && os.IsNotExist(err) { - return false - } - return true -} - // Split Excel sheet column title to string and integer, return XAxis func getColIndex(axis string) string { r, err := regexp.Compile(`[^\D]`) -- cgit v1.2.1