1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 17:10:50 +00:00
This commit is contained in:
Mariano Fevola 2017-03-03 16:24:02 +00:00
parent 3d629e7320
commit e0250e2871
2 changed files with 2 additions and 2 deletions

View File

@ -300,7 +300,7 @@ func (c *IniConfigContainer) GetSection(section string) (map[string]string, erro
if v, ok := c.data[section]; ok {
return v, nil
}
return nil, errors.New("not exist setction")
return nil, errors.New("not exist section")
}
// SaveConfigFile save the config into file.

View File

@ -252,7 +252,7 @@ func (c *ConfigContainer) GetSection(section string) (map[string]string, error)
if v, ok := c.data[section]; ok {
return v.(map[string]string), nil
}
return nil, errors.New("not exist setction")
return nil, errors.New("not exist section")
}
// SaveConfigFile save the config into file