miswrite a type of word

This commit is contained in:
FightingMan 2013-12-05 19:20:08 +08:00
parent 39b2e07dc8
commit 27a02082a3
1 changed files with 1 additions and 1 deletions

View File

@ -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) {