package
1.0.3
Repository: https://github.com/mylxsw/go-utils.git
Documentation: pkg.go.dev

# Functions

Cutoff 字符串截取,如果截取了部分,后面自动追加 ...
Diff 提取 itemsA 中包含,但是 itemsB 中不存在的元素.
Distinct remove duplicate elements from array.
Exclude exclude all items match excepts.
Filter 字符串数组过滤.
FilterEmpty 过滤掉字符串数组中的空元素.
HasPrefixes 判断字符串是否以指定的前缀开始.
HasSuffixes 判断字符串是否以指定的后缀结束.
In 判断元素是否在字符串数组中.
InIgnoreCase 判断元素是否在字符串数组中.
Map 依次对字符串数组中每一个元素做 mapper 操作.
Union 两个字符串数组合并,去重复.