This commit is contained in:
crusader 2018-07-04 16:43:42 +09:00
parent 9343327d37
commit dd4f956c58

View File

@ -12,7 +12,3 @@ func NumberToInt(n json.Number) (int, error) {
} }
return int(n64), nil return int(n64), nil
} }
func NumberToInt64(n json.Number) (int64, error) {
return strconv.ParseInt(n.String(), 10, 64)
}