ing
This commit is contained in:
parent
9343327d37
commit
dd4f956c58
|
@ -12,7 +12,3 @@ func NumberToInt(n json.Number) (int, error) {
|
|||
}
|
||||
return int(n64), nil
|
||||
}
|
||||
|
||||
func NumberToInt64(n json.Number) (int64, error) {
|
||||
return strconv.ParseInt(n.String(), 10, 64)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user