Commit 27a02082 authored by FightingMan's avatar FightingMan

miswrite a type of word

parent 39b2e07d
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment