|
@@ -193,8 +193,9 @@ func Int64All(num interface{}) int64 {
|
|
|
} else if i3, ok3 := num.(float32); ok3 {
|
|
|
return int64(i3)
|
|
|
} else if i4, ok4 := num.(string); ok4 {
|
|
|
- in, _ := strconv.Atoi(i4)
|
|
|
- return int64(in)
|
|
|
+ i64, _ := strconv.ParseInt(i4, 10, 0)
|
|
|
+ //in, _ := strconv.Atoi(i4)
|
|
|
+ return i64
|
|
|
} else if i5, ok5 := num.(int16); ok5 {
|
|
|
return int64(i5)
|
|
|
} else if i6, ok6 := num.(int8); ok6 {
|