doc: add docment for UpperCamelCase

This commit is contained in:
dudaodong committed 2026-03-07 11:22:01 +08:00
1 parent de682f2214
commit ce3967b1d5
4 files changed
+76

No files matched your search

+3
View File
@@ -1995,6 +1995,9 @@ import "github.com/duke-git/lancet/v2/strutil"
- **<big>CamelCase</big>** : coverts source string to its camelCase string.
[[doc](https://github.com/duke-git/lancet/blob/main/docs/en/api/packages/strutil.md#CamelCase)]
[[play](https://go.dev/play/p/9eXP3tn2tUy)]
- **<big>UpperCamelCase</big>** : coverts source string to its UpperCamelCase string.
[[doc](https://github.com/duke-git/lancet/blob/main/docs/en/api/packages/strutil.md#UpperCamelCase)]
[[play](https://go.dev/play/p/todo)]
- **<big>Capitalize</big>** : converts the first character of source string to upper case and the remaining to lower case.
[[doc](https://github.com/duke-git/lancet/blob/main/docs/en/api/packages/strutil.md#Capitalize)]
[[play](https://go.dev/play/p/2OAjgbmAqHZ)]