package
1.0.6
Repository: https://github.com/cc360428/helppackage.git
Documentation: pkg.go.dev

# Functions

interface{} 转化为 map.
No description provided by the author
int64.
Email 判断邮箱是否正确正确为true错误为false.
密码和盐加密存入数据库.
对比两者是否相等.
No description provided by the author
随机取出一定长度的随机数字.
GetBinAbsPath 获取当前运行路径.
获取值.
GetPoint 获取点数.
No description provided by the author
Int32ToStr int32转到string.
Int64ToStr int64转到string.
int64 转 string.
No description provided by the author
IntChipToStringAll ..
No description provided by the author
interface 转 string.
IntToStr int转到string.
int 转 string.
IsNull 判断是否为空 输入:"" 输出:false 输入:长度等于0 输出:false 输入:"1" 输出:true.
JsonToMap ..
MapToJson map 转 Json Json 通过第三方工具 (https://www.sojson.com/json/json2go.html) {"code":200,"data":{"age":19,"user":"lcc"},"massage":"ok"} TestMapToJson.
map 转 struct.
Max ..
加密.
Min ..
New 创建一个新的异步执行对象.
NewAsync 老版本的兼容.
Password 判断密码强度正确为true错误为false.
Phone 判断号码是否正确正确为true错误为false.
RandomString 在数字、大写字母、小写字母范围内生成num位的随机字符串.
No description provided by the author
数组去重.
获取盐值.
No description provided by the author
字符串分割第一个参数为要分割的字符串,第二个参数为分割的条件返回分割后的数组.
No description provided by the author
string 转 int.
StrToInt string转到int.
StrToInt32 string转到int32.
StrToInt64 string转到int64.
struct 转 map.
start:正数 - 在字符串的指定位置开始,超出字符串长度强制把start变为字符串长度 负数 - 在从字符串结尾的指定位置开始 0 - 在字符串中的第一个字符处开始length:正数 - 从 start 参数所在的位置返回 负数 - 从字符串末端返回.
取值.
No description provided by the author
将任何数值转换为Int64.
类型断言转类型.
WithStdLib 绝对值.

# Structs

Async 异步执行对象.
No description provided by the author
No description provided by the author
No description provided by the author