package
1.2.3
Repository: https://github.com/nelsonkti/echo-framework.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CheckTime @Description: 验证时间格式是否符合规则 @param inputTime @param format @return bool.
CurrentFileName @Description: 当前文件名称 @return string.
Diff @Description: 差集 @param a @param b @return []T.
EndOfMonth @Description: 获取传入的时间所在月份的最后一天,即某月最后一天的0点。如传入time.Now(), 返回当前月份的最后一天0点时间。 @param d @return time.Time.
FormatTime 格式化时间.
No description provided by the author
GetHourDiffer @Description: 获取相差时间 @param startTime @param endTime @param layout @return float32.
No description provided by the author
No description provided by the author
GetZeroTime @Description: 获取某一天的0点时间 @param d @return time.Time.
GetZHWeekday @Description: 获取星期 @param date @return string.
Intersect @Description: 求交集 @param slice1 @param slice2 @return []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
RecoverPanic 恢复panic.
RemoveSlice @Description: 删除数组的某个元素 @param a @param b @return []T.
Round @Description: 保留小数位 @param f @param n @return float64.
StartOfMonth @Description: 获取传入的时间所在月份的第一天,即某月第一天的0点。如传入time.Now(), 返回当前月份的第一天0点时间。 @param d @return time.Time.
No description provided by the author
No description provided by the author
Struct2Map @Description: 结构体转map方法1 @param obj @return map[string]interface{}.
No description provided by the author
TimeParse @Description: 时间转换 @param layout @param value @return time.Time.
Union @Description: 求并集 @param slice1 @param slice2 @return []string.
Unique @Description: 数组去重 @param a @return []T.
UnixTime 将时间转化为毫秒数.

# 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
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
JSONTime format json time field by myself.
JSONTimeDate format json time field by myself.

# Interfaces

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