Selaa lähdekoodia

treat next letter after `.` as cap

tags/v0.1.0
Victor Korzunin GitHub 4 vuotta sitten
vanhempi
commit
689d515138
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      camel.go

+ 1
- 1
camel.go Näytä tiedosto

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


Loading…
Peruuta
Tallenna