treat next letter after . as cap

This commit is contained in:
Victor Korzunin 2019-11-05 00:21:21 +01:00 committed by GitHub
parent e506e3ef73
commit 689d515138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ func toCamelInitCase(s string, initCase bool) string {
n += string(v)
}
}
if v == '_' || v == ' ' || v == '-' {
if v == '_' || v == ' ' || v == '-' || v == '.' {
capNext = true
} else {
capNext = false