iancoleman / strcase

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

Improve ToLowerCamel() #9

Closed takuoki closed 6 years ago

takuoki commented 6 years ago

In the current ToLowerCamel(), there is an issue about string with initial letters capitalized.

str := strcase.ToLowerCamel("TestCase") // str = "TestCase"

In this case, I guess ToLowerCamel() should return "testCase".

@iancoleman Do you have any idea about this issue?