Browse Source

treat next letter after `.` as cap

tags/v0.1.0
Victor Korzunin GitHub 4 years ago
parent
commit
689d515138
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      camel.go

+ 1
- 1
camel.go 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


Loading…
Cancel
Save