joeatbayes / goutil

GoLang Libraries used by my various Go Based Systems such as file2consult, MDS, Quantized Classifier, etc.
MIT License
2 stars 0 forks source link

Interpolate function calls returns string values in lower case #1

Open Briareus opened 5 years ago

Briareus commented 5 years ago

https://github.com/joeatbayes/goutil/blob/e532c35423e583c693d93421142f156dc9572747/jutil/commandLineParser.go#L249

Camelcase body elements are converted to lower case, probably for comparison purposes, but the returned string array only contains the lower case version of the element.

Sample input: {"memberId":"666555444"} Interpolate function output: {"memberid":"666555444"}

joeatbayes commented 5 years ago

Go ahead and make this change and submit a pull request.