Versions in this module Expand all Collapse all v0 v0.0.7 Aug 30, 2022 Changes in this version + func BlockTest() + func CreateTime(millis int64) time.Time + func GetDateString(t time.Time) string + func GetDay(t time.Time) int + func GetHour(t time.Time) int + func GetHumanReadableDuration(start time.Time, end time.Time) string + func GetLongDateString(t time.Time) string + func GetLongHumanReadableDuration(start time.Time, end time.Time) string + func GetLongLongDateString(t time.Time) string + func GetMillionSecond(t time.Time) int + func GetMinute(t time.Time) int + func GetMonth(t time.Time) int + func GetMyAddress(preferredNetworks ...string) string + func GetNanosecond(t time.Time) int64 + func GetSecond(t time.Time) int + func GetShortDateString(t time.Time) string + func GetTimestamp(t time.Time) int64 + func GetYear(t time.Time) int + func LimitRange(value interface{}, defaultValue interface{}, rangeValues ...interface{}) interface + func List2Array(ls *list.List) []interface + func Md5Sum(input ...string) string + func ParseHostPortFromConnStr(connStr string) (string, int) + func TOperation(condition bool, trueOperation func() interface{}, ...) interface + func TValue(condition bool, trueValue interface{}, falseValue interface{}) interface + func Try(f func(), catcher func(e interface{})) + func WalkList(ls *list.List, walker func(item interface{}) bool) + type IP struct + Address string + Name string