package
0.7.7
Repository: https://github.com/ergoapi/util.git
Documentation: pkg.go.dev

# Functions

Blacklist.
Bytes2Str converts byte slice to string without a memory allocation.
DuplicateInt64ElementInt64 数组去重.
DuplicateIntElementInt 数组去重.
DuplicateStrElement 字符串去重.
EqualFold tests ascii strings for equality case-insensitively.
Int2Str int to string.
Int642Str int64 to string.
Int64ArrayContains 数组是否包含某字符串.
No description provided by the author
IntArrayContains 数组是否包含某字符串.
No description provided by the author
KubeBlacklist.
No description provided by the author
No description provided by the author
No description provided by the author
Str2Byte string to byte.
Str2Bytes converts string to byte slice without a memory allocation.
Str2Float64 string to float64.
Str2Int string to int.
Str2Int32 string to int32.
Str2Int64 string to int64.
Str2UInt64 string to uint64.
StringArrayContains 字符串数组是否包含某字符串.
No description provided by the author
ToLower converts ascii string to lower-case.
ToUpper converts ascii string to upper-case.
Trim is the equivalent of strings.Trim.
TrimLeft is the equivalent of strings.TrimLeft.
TrimRight is the equivalent of strings.TrimRight.
No description provided by the author
No description provided by the author
UInt642Str uint64 to string.
UnsafeString returns a string pointer without allocation nolint:gosec // unsafe is used for better performance here.