Commit d5c03f5b authored by Liaodd's avatar Liaodd Committed by GitHub

Update ini.go

change the key to lowercase when set a new key for ini configer
parent 323a1c42
......@@ -416,7 +416,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 {
......
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