Update ini.go
This commit is contained in:
parent
69c17fafbb
commit
22b78d011f
@ -478,7 +478,7 @@ func (c *IniConfigContainer) DIY(key string) (v interface{}, err error) {
|
||||
if v, ok := c.data[strings.ToLower(key)]; ok {
|
||||
return v, nil
|
||||
}
|
||||
return v, errors.New("key not find")
|
||||
return v, errors.New("key not found")
|
||||
}
|
||||
|
||||
// section.key or key
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user