goini icon indicating copy to clipboard operation
goini copied to clipboard

Case sensitive keys and section names

Open mikhail-sakhnov opened this issue 9 years ago • 0 comments

Now in the library keys and section titles processed with strings.ToLower()

It provides some strange behavior with keys like "testKey" - it would provide look up for key "testKey" in dict but it's been stored as 'testkey'.

It would be better if you either remove ToLower in func (dict Dict) add(section, key, value string) or add ToLower in Get* methods.

mikhail-sakhnov avatar Jan 30 '17 14:01 mikhail-sakhnov