소스 검색
treat next letter after `.` as cap
tags/v0.1.0
Victor Korzunin
GitHub
4 년 전
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
1개의 추가작업 그리고
1개의 파일을 삭제
-
camel.go
|
|
@@ -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 |
|
|
|