b6bf7121 by astaxie

Merge pull request #338 from FightingMan/master

miswrite a type of word
2 parents 39b2e07d 27a02082
...@@ -54,7 +54,7 @@ func (c *JsonConfigContainer) Int64(key string) (int64, error) { ...@@ -54,7 +54,7 @@ func (c *JsonConfigContainer) Int64(key string) (int64, error) {
54 if v, ok := c.data[key].(float64); ok { 54 if v, ok := c.data[key].(float64); ok {
55 return int64(v), nil 55 return int64(v), nil
56 } 56 }
57 return 0, errors.New("not bool value") 57 return 0, errors.New("not int64 value")
58 } 58 }
59 59
60 func (c *JsonConfigContainer) Float(key string) (float64, error) { 60 func (c *JsonConfigContainer) Float(key string) (float64, error) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!