mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 22:01:29 +00:00
Merge pull request #338 from FightingMan/master
miswrite a type of word
This commit is contained in:
commit
b6bf712195
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user