From 27a02082a3b9257343ccf11530f95ab86461667c Mon Sep 17 00:00:00 2001 From: FightingMan Date: Thu, 5 Dec 2013 19:20:08 +0800 Subject: [PATCH] miswrite a type of word --- config/json.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/json.go b/config/json.go index 2b4021e8..ea662df8 100644 --- a/config/json.go +++ b/config/json.go @@ -54,7 +54,7 @@ func (c *JsonConfigContainer) Int64(key string) (int64, error) { if v, ok := c.data[key].(float64); ok { return int64(v), nil } - return 0, errors.New("not bool value") + return 0, errors.New("not int64 value") } func (c *JsonConfigContainer) Float(key string) (float64, error) {