Categorygithub.com/Jinglever/go-string
modulepackage
0.9.5
Repository: https://github.com/jinglever/go-string.git
Documentation: pkg.go.dev

# README

字符串相关的函数

# Packages

No description provided by the author

# Functions

convert CamelCase to camel_case.
CombineSortedWithSep combines a slice of strings into a single string, with the given separator between each string.
CompareStringPointer compare string pointer return true if a and b are both nil or a == b.
No description provided by the author
格式化golang代码,包括import.
GetStringByPointer get string by pointer return "" if pointer is nil.
No description provided by the author
encode json.
convert first letter to lower case.
No description provided by the author
Reference: https://xie.infoq.cn/article/f274571178f1bbe6ff8d974f3.
convert first letter to upper case.
No description provided by the author