github.com/sandwich-go/boost@v1.3.29/xstrings/README.md (about) 1 # xstrings 2 3 字符串辅助函数 4 5 - 判断字符串的布尔值 6 - `CamelCase`、`SnakeCase` 转换 7 - `JSON` 校验 8 - 丰富 `trim` 9 - 首字母大小写 10 11 # 例子 12 ```go 13 fmt.Println(CamelCase("camel_case")) 14 ``` 15 Output: 16 ```text 17 CamelCase 18 ```