# README
util
常用小工具库(非依赖第三方库)
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package snowflake provides a very simple Twitter snowflake generator and parser.
# Functions
No description provided by the author
No description provided by the author
数组去重.
Deprecated FilterIntSlice() is deprecated, please use FilterSlice() instead.
过滤数组,去除src在dst中存在的item src[1,2,3,4,5] dst[2,4,6,8] result[1,3,5] src["a","b","c","d","e"] dst["b","d","f","h"] result["a","c","e"].
Deprecated FilterStringSlice() is deprecated, please use FilterSlice() instead.
No description provided by the author
Deprecated IntDeduplicate() is deprecated, please use DeduplicateSlice() instead.
slice1 和 slice2 交集.
Deprecated IntIntersect() is deprecated, please use IntersectSlice() instead.
Deprecated IntMergeDeduplicate() is deprecated, please use MergeDeduplicateSlice() instead.
Deprecated IntRemoveElement() is deprecated, please use RemoveSliceElement() instead.
Deprecated IntRemoveElementByIndex() is deprecated, please use RemoveSliceElementByIndex() instead.
Deprecated IntUnion() is deprecated, please use UnionSlice() instead.
JoinInts format int64 slice like [1,2,3,4,5] to string like 1,2,3,4,5.
数组合并+去重.
随机生成数字字符串.
随机生成纯字符串.
随机生成字符串.
数组移除元素 If n < 0, there is no limit on the number of remove.
数组根据index移除元素 return new slice.
SplitInts split string like 1,2,3,4,5 into int64 slice like [1,2,3,4,5].
Deprecated StringDeduplicate() is deprecated, please use DeduplicateSlice() instead.
Deprecated StringMergeDeduplicate() is deprecated, please use MergeDeduplicateSlice() instead.
Deprecated string 数组,移除元素 If n < 0, there is no limit on the number of remove.
Deprecated StringRemoveElementByIndex() is deprecated, please use RemoveSliceElementByIndex() instead.
string 数组,slice1 和 slice2 并集.
VerifyIDCard 计算规则参考“中国国家标准化管理委员会”官方文档:http://www.gb688.cn/bzgk/gb/newGbInfo?hcno=080D6FBF2BB468F9007657F26D60013E 身份证号码校验.
VerifyPhoneNumber 手机号码校验.
# Constants
No description provided by the author