# Functions
AllDirectories 获取一个目录下的所有目录.
AllFiles 获取一个目录下的所有文件.
CamelString 驼峰.
No description provided by the author
CopyFile 复制一个文件.
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
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
No description provided by the author
No description provided by the author
EachMap 遍历任意 map.
EachSlice 遍历任意 slice 或者 array.
EachStructField 遍历结构体的字段.
ExceptFields 只获取指定 key 以外的数据.
No description provided by the author
No description provided by the author
GetBoolField 获取 Fields 中的 bool,会尝试转换类型.
No description provided by the author
GetFloat64Field 获取 Fields 中的 float64,会尝试转换类型.
GetFloatField 获取 Fields 中的 float32,会尝试转换类型.
GetInt64Field 获取 Fields 中的 int64,会尝试转换类型.
GetIntField 获取 Fields 中的 int,会尝试转换类型.
GetMapKeys 获取 Fields 的所有 key.
GetStringField 获取 Fields 中的字符串,会尝试转换类型.
GetSubField 获取下级 Fields ,如果没有的话,匹配同前缀的放到下级 Fields 中.
GetTypeKey 获取类型唯一字符串.
No description provided by the author
Ifi 类似三目运算,返回第一个不是 nil 的值.
IfString 类似三目运算.
IsArray 是否是数组或者 slice.
IsEqual 等于 =.
IsGt 大于 >.
IsGte 大于等于.
IsIn 存在 in.
IsInstanceIn InstanceIn 判断变量是否是某些类型.
No description provided by the author
IsLt 小于 <.
IsLte 小于等于 <=.
IsNotIn 不存在 not in.
No description provided by the author
IsSameStruct 判断是否同一个结构体.
JoinFloat64Array 连接 float64 数组,类似 strings.Join.
JoinFloatArray 连接 float32 数组,类似 strings.Join.
JoinInt64Array 连接 int64 数组,类似 strings.Join.
JoinIntArray 连接 int 数组,类似 strings.Join.
JoinInterfaceArray 连接 interface 数组,类似 strings.Join.
JoinStringerArray 连接fmt.Stringer数组,类似 strings.Join.
LoadEnv 加载 .env 文件.
No description provided by the author
MakeSymbolArray 创建一个有指定字符组成的数组.
Md5 生成 md5 字符串.
MergeFields 合并两个 contracts.Fields.
No description provided by the author
NotNil 尽量不要 nil.
OnlyExistsFields 只获取指定 key ,不存在或者 nil 则忽略.
OnlyFields 只获取指定 key 的数据.
ParseStructTag 解析结构体的tag.
No description provided by the author
No description provided by the author
No description provided by the author
RandStr 生成随机字符串.
SetInterval 设置一个定时器,类似 js 的 SetInterval,返回一个用于关闭该定时器的通道.
SnakeString 蛇形字符串.
StringArray2InterfaceArray 把字符串数组转成 any 数组.
StringOr 尽量不返回空字符串.
SubString 切割字符串.
ToBool 把能转换成 bool 的值转换成 bool.
ToFields 尝试把一个变量转换成 Fields 类型.
ToFloat 把能转换成 float32 的值转换成 float32.
ToFloat64 把能转换成 float64 的值转换成 float64.
ToInt 把能转换成 int 的值转换成 int.
ToInt16 把能转换成 int 的值转换成 int.
ToInt32 把能转换成 int 的值转换成 int.
ToInt64 把能转换成 int64 的值转换成 int64.
ToInt8 把能转换成 int 的值转换成 int.
ToString 把能转换成 string 的值转换成 string.
ToTypes 把变量转换成反射类型.
uint.
uint.
uint.
uint.
uint.
ToValue 把 interface 转换成指定类型的 reflect.Value.
# Variables
No description provided by the author
# Type aliases
No description provided by the author