# Functions
No description provided by the author
No description provided by the author
No description provided by the author
执行命令行命令.
// 1.8 版本之后失效, 可能test的参数附加不再走flag.
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
在any切片中随机一个值.
随机 int, 包括最大数自己.
原地打乱一个 slice 元素顺序 无返回.
随机抽取切片中 n 个不重复元素.
切片中的指定元素计数.
切片去除重复元素.
RawSlice 切片 中删除 delSlice 中的所有元素 delList 不应比 RawSlice 长, 否则会 Panic! 所有的切片元素都不应有重复, 否则可能得不到想要的结果.
No description provided by the author
No description provided by the author
把结构体反射为map, 以Tag为key.
写入文件, 注意文件已经存在会覆盖.
直接覆盖文件, 如果要编辑, 先load完整文件内容.