diff options
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]`) |