Documentation ¶
Index ¶
- Constants
- func Delay(ts time.Time) string
- func FormatUnix(unixTime interface{}, format string) string
- func Sleep(max int, seed int)
- func SleepHour()
- func SleepRand(max int, seed int64)
- func SleepRandMillisecond(max int)
- func SleepSecond(sleep int)
- func StrToTimeLong(s string) (tDst time.Time)
- func StrToTimeShort(s string) (tDst time.Time)
- func UTCtoLOCAL(utc string) (local time.Time, err error)
- func UTCtoLOCALWithoutSec(utc string) (local time.Time, err error)
- func WeekdayCN(s string) string
Constants ¶
View Source
const ( FormatDatetime = "2006-01-02 15:04:05" FormatDay = "2006-01-02" FormatTime = "15:04:05" FormatUTC1 = "2006-01-02T15:04:05" )
Variables ¶
This section is empty.
Functions ¶
func SleepRandMillisecond ¶
func SleepRandMillisecond(max int)
func SleepSecond ¶
func SleepSecond(sleep int)
func StrToTimeLong ¶
func StrToTimeShort ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.