diff options
author | Ri Xu <xuri.me@gmail.com> | 2016-08-31 19:27:44 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2016-08-31 19:27:44 +0800 |
commit | 0e61ae7eda79e7b4e6501c64cf75dea0923489b3 (patch) | |
tree | e525e33a47ab9e0bb78b687c6fcb6797eddfa577 /lib.go | |
parent | 3c4ad28db75108dfd974b994df26ec7f33a69be7 (diff) |
1) Update readme file credits and go report badge added; 2) Remove use less function; 3) Update test file.
Diffstat (limited to 'lib.go')
-rw-r--r-- | lib.go | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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]`) |