# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
数据库 in ()使用.
Base58Decode decodes Base58-encoded data.
Base58Encode encodes a byte array to Base58.
Bit2Diff 测试未通过.
No description provided by the author
No description provided by the author
No description provided by the author
BytesCombine 多个[]byte数组合并成一个[]byte.
变化率 = (d1-d2)/d2.
变化率 = (d1-d2)/d2.
变化率 = (d1-d2)/d2.
关闭调试http.
No description provided by the author
Decimal2Float32 decimal 转换为 float32 return float32 v 待转换数据 keepBit 保留的小数点位数 isRound 是否四舍五入.
Decimal2Float64 decimal 转换为 float64 return float64 v 待转换数据 keepBit 保留的小数点位数 isRound 是否四舍五入.
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
FindSplit 通过splitChar分割dataArr数据.
FindSplitAlpha 找到第一个分割字符的位置,splitChar 为 分割字符,dataArr 为 数据数组.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Fnv32Hash 字符串转换 hash 32 位 fnv 算法.
Fnv64Hash 字符串转换 hash 34 位 fnv 算法.
格式化为北京时区天 ,例子:unixTime = 1626778230 ;result = 20210720.
格式化为北京时区小时 ,例子:unixTime = 1626778230 ;result = 2021072018.
No description provided by the author
No description provided by the author
No description provided by the author
格式化 时区小时 ,例子:unixTime = 1626778230, 北京时区 ;result = 20210720.
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
格式化 时区小时 ,例子:unixTime = 1626778230, 北京时区 ;result = 2021072018.
No description provided by the author
No description provided by the author
格式化 unix 时间 到 int64 ,例子:unixTime = 1626778230, 北京时区 ;result = 20210720.
格式化 unix 时间 到 int64 ,例子:unixTime = 1626778230, 北京时区 format=2006-01-02 15:04:05;result = 20210720.
格式化为utc天 ,例子:unixTime = 1626778230 ;result = 20210720.
格式化为utc小时 ,例子:unixTime = 1626778230 ;result = 2021072010.
生成退款单号.
GenerateSnowflake generates Twitter Snowflake ID.
生成 Trade NO.
生成对应微信支付需要的时间格式.
No description provided by the author
see: https://en.bitcoin.it/wiki/Controlled_supply.
GetColumnNameMap 获取数据库 PO Struct 的字段名和库里面的列名对应 mapExample: po := po.TAccount{} columnMap := tools.GetColumnNameMap(po) for k, v := range columnMap { fmt.Println("field name:", k) fmt.Println("field column value:", v) }.
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
GetPlatform 获取实际运行平台.
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
Go 使用这个避免了协成panic导致程序退出.
No description provided by the author
算力 转换为 share.
No description provided by the author
No description provided by the author
No description provided by the author
interface 转换为 string, 只支持基本数据类型.
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
保留浮点位数 = d1 * pow(10,keepFloatCount) / pow(10,keepFloatCount).
保留浮点位数 = d1 * pow(10,keepFloatCount) / pow(10,keepFloatCount).
No description provided by the author
No description provided by the author
MD5算法.
MD5算法.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
雪花ID.
No description provided by the author
解析北京时间为unix时间戳 例子:timeStr = 2021-07-20 18:50:30 ; timeFormat = 2006-01-02 15:04:05, result = 1626778230.
loggerName as sharelogger.2021072012.csv.zst; result = 2021072012.
No description provided by the author
解析UTC+0 时间为unix时间戳 例子:timeStr = 2021-07-20 18:50:30 ; timeFormat = 2006-01-02 15:04:05, result = 1626778230.
No description provided by the author
No description provided by the author
No description provided by the author
* * post发送二进制格式 */.
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
占比 = d1/d2.
占比 = d1/d2.
占比 = d1/d2.
No description provided by the author
ReverseBytes reverses a byte array.
No description provided by the author
No description provided by the author
使用反射,转换结构体.
No description provided by the author
开启调试http服务.
StringInSlice 字符串是否在数组中.
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
StructToMap 结构体转为Map[string]interface{}.
获取source的子串,如果start小于0或者end大于source长度则返回""start:开始index,从0开始,包括0end:结束index,以end结束,但不包括end.
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
ValidateAddress check if address if valid.
No description provided by the author
No description provided by the author
No description provided by the author
为了考虑时间误差,判断前当前时间及前后30秒时间.

# Constants

Alipay..
AlipaySuccess ...
Mobile ...
Web ...
Wechat..
WxSuccess ...

# Variables

北京 时区.
No description provided by the author
No description provided by the author
判断是否为btc 不支持的地址前缀,see : https://en.bitcoin.it/wiki/List_of_address_prefixes.
判断是否为btc testnet地址see : https://en.bitcoin.it/wiki/List_of_address_prefixes.
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
see https://github.com/ChainSafe/web3.js/blob/2279a67e07/packages/web3-utils/src/utils.js checkAddressChecksum checkAddressChecksum.
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
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
utc+0 时区.

# Structs

No description provided by the author
No description provided by the author