1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-29 13:01:30 +00:00

Merge pull request #338 from FightingMan/master

miswrite a type of word
This commit is contained in:
astaxie 2013-12-05 03:54:21 -08:00
commit b6bf712195

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