1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 00:01:29 +00:00

Merge pull request #2479 from marianofevola/develop

Fix typo
This commit is contained in:
astaxie 2017-03-05 22:07:08 +08:00 committed by GitHub
commit fa44ff54bb
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