Merge pull request #2555 from Liaodd/master

Update ini.go: change the key to lowercase when set a new key for ini configer
This commit is contained in:
astaxie 2017-04-24 22:37:25 +08:00 committed by GitHub
commit d03285a0ee
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ func (c *IniConfigContainer) Set(key, value string) error {
var (
section, k string
sectionKey = strings.Split(key, "::")
sectionKey = strings.Split(strings.ToLower(key), "::")
)
if len(sectionKey) >= 2 {