# Functions
No description provided by the author
ArrayInt64ToString []int64 to string.
BASE64DecodeStr base解码.
BASE64EncodeStr base编码.
BoolToString bool to string.
No description provided by the author
No description provided by the author
Contains 字符串切片包含字符串,检查数据包含关系.
No description provided by the author
DateFrom date from.
DateTimeFrom datetime from.
DateTimeTo datetime to.
DateTo data to.
ExcelDateFormat 读取Excel里面的时间格式.
ExecutablePath 获取可执行文件所在目录.
ExportToExcel 导出数据到 Excel 文件字节.
ExportToFile 导出到file.
Float64ToString float to string.
No description provided by the author
FormatDate 将time.Time时间格式化成"2006-01-02".
FormatTime 将time.Time时间格式化成"20060102150405"、"2006-01-02 15:04:05".
FormatTimeDefault 将time.Time时间格式化成"2006-01-02 15:04:05".
No description provided by the author
GetHtmlRawContent get raw content.
No description provided by the author
No description provided by the author
HasChineseOrSymbols 是否有中文字符.
HmacSha256 sha.
HttpDelete Delete请求.
HttpGet Get请求.
HttpPost Post请求.
HttpPostFiles Creates a new file upload http request with optional extra params.
HttpPut Put请求.
Int64ToString int64 to string.
IsEmpty 为空判断.
IsFraction 判断字符串是否匹配分数形式.
No description provided by the author
No description provided by the author
MarkUpSuffix 按照特定字符自动尾部补全.
Md5 md5验证.
No description provided by the author
NewBizID 生成业务Id bizCode 业务编码 suffixLength 结尾随机字符长度.
NewJWT 实例化对象.
No description provided by the author
NewUUID new uuid.
No description provided by the author
No description provided by the author
ReadFile 读取文件 ReadFile.
ReadXlsx xlsx解析.
ReplaceStrEmptyAndLine ReplaceEmpty.
ReservedOneDecimal 保留一位小数.
ReservedTwoDecimal 保留两位小数.
RootDir 应用所在根目录.
SHA256Str sha256验证 valid.
Split fen ci.
SplitToFloat split to float.
SplitToInt split to int.
No description provided by the author
No description provided by the author
StringRegex 正则.
StringsSplitLimit 按批次分隔字符串,每批次字符串的值用sep分隔符分隔,每批次字符串的值最多数量是limitInt 如:arr = []string{"1","2","3","4","5","6","7"} sep = ";" limitInt = 2 返回结果:[]string{"1;2", "3;4", "5;6", "7"}.
StringToTime 字符串转时间.
SubString SubString截取指定长度的字符串.
TimeFrom time from.
TimeParse string转换time.
Timestamp 时间戳,年份取2位,直到毫秒.
TimeTo time to.
ToBool to bool.
No description provided by the author
ToDataTimeString 时间转换成string.
ToDateString 时间转换成string.
ToDocPublishTimeVersion 格式化时间.
ToFloat to float.
ToInt to int64.
ToInt32 to int32.
No description provided by the author
Trim trm.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
时间模型.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
JWT 实现JWT服务.
# Type aliases
No description provided by the author