File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1997,7 +1997,7 @@ import "github.com/duke-git/lancet/v2/strutil"
19971997 [[ play] ( https://go.dev/play/p/9eXP3tn2tUy )]
19981998- ** <big >UpperCamelCase</big >** : coverts source string to its UpperCamelCase string.
19991999 [[ doc] ( https://github.com/duke-git/lancet/blob/main/docs/en/api/packages/strutil.md#UpperCamelCase )]
2000- [[ play] ( https://go.dev/play/p/todo )]
2000+ [[ play] ( https://go.dev/play/p/vPHszjTXSFp )]
20012001- ** <big >Capitalize</big >** : converts the first character of source string to upper case and the remaining to lower case.
20022002 [[ doc] ( https://github.com/duke-git/lancet/blob/main/docs/en/api/packages/strutil.md#Capitalize )]
20032003 [[ play] ( https://go.dev/play/p/2OAjgbmAqHZ )]
Original file line number Diff line number Diff line change @@ -2004,7 +2004,7 @@ import "github.com/duke-git/lancet/v2/strutil"
20042004 [[ play] ( https://go.dev/play/p/9eXP3tn2tUy )]
20052005- ** <big >UpperCamelCase</big >** : 将字符串转换为CamelCase大写驼峰式字符串, 非字母和数字会被忽略。
20062006 [[ doc] ( https://github.com/duke-git/lancet/blob/main/docs/api/packages/strutil.md#UpperCamelCase )]
2007- [[ play] ( https://go.dev/play/p/todo )]
2007+ [[ play] ( https://go.dev/play/p/vPHszjTXSFp )]
20082008- ** <big >Capitalize</big >** : 将字符串的第一个字符转换为大写。
20092009 [[ doc] ( https://github.com/duke-git/lancet/blob/main/docs/api/packages/strutil.md#Capitalize )]
20102010 [[ play] ( https://go.dev/play/p/2OAjgbmAqHZ )]
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ func main() {
276276func UpperCamelCase (s string ) string
277277```
278278
279- <b>示例:<span style="float:right;display:inline-block;">[运行](https:// go.dev/play/p/todo )</span></b>
279+ <b>示例:<span style="float:right;display:inline-block;">[运行](https:// go.dev/play/p/65Q6iYhLRTa )</span></b>
280280
281281```go
282282import (
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ func main() {
276276func UpperCamelCase (s string ) string
277277```
278278
279- <b>Example:<span style="float:right;display:inline-block;">[Run](https:// go.dev/play/p/todo )</span></b>
279+ <b>Example:<span style="float:right;display:inline-block;">[Run](https:// go.dev/play/p/vPHszjTXSFp )</span></b>
280280
281281```go
282282import (
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ func CamelCase(s string) string {
3535}
3636
3737// UpperCamelCase coverts string to UpperCamelCase string. Non letters and numbers will be ignored.
38- // Play: https://go.dev/play/p/todo
38+ // Play: https://go.dev/play/p/vPHszjTXSFp
3939func UpperCamelCase (s string ) string {
4040 var builder strings.Builder
4141
You can’t perform that action at this time.
0 commit comments