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 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 ( GO_TIME_SHORT_FORM = "2006-01-02" GO_TIME_LONG_FORM = "2006-01-02 15:04:05" GO_TIME_UTC_SHORT_FORM = "2006-01-02T15:04:05" )
Variables ¶
This section is empty.
Functions ¶
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.