iancoleman / strcase

A golang package for converting to snake_case or CamelCase
MIT License
1.02k stars 110 forks source link

Improve uppercase string to camel case conversion #41

Closed atakanozceviz closed 1 year ago

atakanozceviz commented 2 years ago

Fixes https://github.com/iancoleman/strcase/issues/12

Old behaviour: ToCamel("CONSTANT_CASE") => CONSTANTCASE ToLowerCamel("CONSTANT_CASE") => cONSTANTCASE

New behaviour: ToCamel("CONSTANT_CASE") => ConstantCase ToLowerCamel("CONSTANT_CASE") => constantCase

jazanne commented 1 year ago

Any idea when this change will be merged and released? It would be a huge improvement for me