7
0

treat next letter after . as cap

Esse commit está contido em:
Victor Korzunin 2019-11-05 00:21:21 +01:00 commit de GitHub
commit 689d515138
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 4AEE18F83AFDEB23

Ver arquivo

@ -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