1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 10:20:56 +00:00

miswrite a type of word

This commit is contained in:
FightingMan 2013-12-05 19:20:08 +08:00
parent 39b2e07dc8
commit 27a02082a3

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