Renamed function

This commit is contained in:
Dmitry Lyukov
2016-03-29 00:26:39 +03:00
parent f4bd34c242
commit 5dec20de00

View File

@@ -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":