From dd4f956c587b1947f84ad5eebd64722b3d6c5224 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 4 Jul 2018 16:43:42 +0900 Subject: [PATCH] ing --- encoding/json/number.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/encoding/json/number.go b/encoding/json/number.go index 04f2969..936ba86 100644 --- a/encoding/json/number.go +++ b/encoding/json/number.go @@ -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) -}