iancoleman / strcase

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

odd-fix becomes Oddfix #1

Closed jbcpollak closed 7 years ago

jbcpollak commented 7 years ago
strcase.ToCamel("odd-fix"); // returns "Oddfix"

I was expecting oddFix, but would have understood OddFix.

I don't think the f should be lowercase here.

iancoleman commented 7 years ago

Fixed in closed PR https://github.com/iancoleman/strcase/pull/3