summaryrefslogtreecommitdiff
path: root/lib.go
diff options
context:
space:
mode:
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]`)