summaryrefslogtreecommitdiff
path: root/lib.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2016-08-31 19:27:44 +0800
committerRi Xu <xuri.me@gmail.com>2016-08-31 19:27:44 +0800
commit0e61ae7eda79e7b4e6501c64cf75dea0923489b3 (patch)
treee525e33a47ab9e0bb78b687c6fcb6797eddfa577 /lib.go
parent3c4ad28db75108dfd974b994df26ec7f33a69be7 (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.go10
1 files changed, 0 insertions, 10 deletions
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]`)