From 5dec20de000350e9f938021aca74a95f268799cd Mon Sep 17 00:00:00 2001 From: Dmitry Lyukov Date: Tue, 29 Mar 2016 00:26:39 +0300 Subject: [PATCH] Renamed function --- src/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.go b/src/main.go index d96a14b..54e8607 100644 --- a/src/main.go +++ b/src/main.go @@ -236,7 +236,7 @@ func GetStatTimesFromDb(db *sql.DB, fromTime int64, keyMap map[uint8]string) []S return res } -func FindFileType(path string) string { +func GetFileType(path string) string { } @@ -305,7 +305,7 @@ func main() { } case *outputPath != "": exportingData := GetStatTimesFromDb(db, 0, keyMap) - filetype := findFileType(*outputPath) + filetype := GetFileType(*outputPath) log.Println(filetype) switch filetype { case ".csv":