Merge pull request #338 from FightingMan/master
miswrite a type of word
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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) { | ... | ... |
-
Please register or sign in to post a comment