# 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
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
# Functions
ApiResponse 异常通知.
No description provided by the author
Average 球平局数.
BinDec Binary to decimal.
No description provided by the author
No description provided by the author
ConvertStringUTC UTC 时间转换.
ConvertUTC UTC 时间转换.
Decimal 保留2位小数.
ExecuteCommand 执行命令.
No description provided by the author
No description provided by the author
FormatFileSize 字节的单位转换 保留两位小数.
No description provided by the author
GetCmdPath 获取命令路径.
GetConfig 获取配置.
GetConfigFile 获取当前运行环境下的配置.
GetDayRangeList 获取日期区间数据.
GetDayStringSub 获取两个日期的天数之差.
GetDaySub 获取日期差天数.
No description provided by the author
No description provided by the author
GetIpFromAddr 获取ip.
GetLocalIP 获取本机 IP.
GetMonthRangeList 月份区间.
No description provided by the author
No description provided by the author
GetTimeDuration 获取时间区间.
GetUUIdByTime 根据时间生成UUID true去除“-”,false不去除.
GetWeekRangeList 将开始时间和结束时间分割为周为单位.
GetYearDay 获取一年中的第几天.
No description provided by the author
No description provided by the author
IdUUIdByRand V4 基于随机数 true去除“-”,false不去除.
No description provided by the author
IntToStr int类型转字符串 num int类型的数据,不区分int64或者int类型.
IsStaticRequest 判断是否是静态文件请求.
No description provided by the author
No description provided by the author
No description provided by the author
ListDirNames return all file names in the path.
MapToSplit map 转换 split.
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
OpenFreeUDPPort opens free UDP port This example does not actually use UDP ports, but to avoid port collisions with the HTTP server, it binds the same number of UDP port in advance.
ParseConfig 解析配置文件.
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
SHA1 sha1加密 encryption.
Sign 接口请求签名.
Sign 接口请求签名.
No description provided by the author
No description provided by the author
StringReplace 字符串批量替换.
StrToFloat32 String转float32位 strFloat 需要转的字符串 defaultFloat 默认值,若没有出现转换异常直接返回0.0.
StrToFloat64 String转float64位 strFloat 需要转的字符串 defaultFloat 默认值,若没有出现转换异常直接返回0.0.
StrToInt 字符串转int.
StrToInt32 StrNum需要转换的字符串 defaultNum默认值 String类型转int64.
StrToInt64 StrNum需要转换的字符串 defaultNum默认值 String类型转int64.
No description provided by the author
TansToMap 转换json 到map.
No description provided by the author
No description provided by the author
TransDateArr 获取日期区间.
TransDateFormat 时间日期转换.
TransInterfaceToMap 转换struct 等结构到map.
TransInterfaceToStruct 转换interface 到struct.
TransStrToImage base64 字符串转图片.
TransWhere 结构体转换查询sql.
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
WebResponse 异常通知.
# Constants
No description provided by the author
DateFormat.
No description provided by the author
DateTimeTemplate 日期时间模板.
DebugMode indicates gin mode is debug.
MonthFormat 月份模板.
No description provided by the author
No description provided by the author
ReleaseMode indicates gin mode is release.
No description provided by the author
TestMode indicates gin mode is test.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Logger 系统日志.
# Structs
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
ResponseData 响应结构体.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author