Versions in this module Expand all Collapse all v1 v1.1.1 Dec 3, 2023 v1.1.0 Dec 3, 2023 Changes in this version + func RandomEmoji() string v1.0.0 Dec 2, 2023 Changes in this version + var TimeFmt = "2006-01-02 15:04:05" + var TimeFmtMS = "2006-01-02 15:04:05.000" + func CookieToMap(cookie string) map[string]string + func CreateLog(logfile string) *zap.SugaredLogger + func GetNextMinuteMs(aheadMs int) (time.Duration, time.Duration, error) + func GetWaiMaiSeverTime() (timestamp int64, err error) + func RandomUA() string + func WaitToSecond(targetSecond int, aheadMs int) time.Duration + type Coupon struct + Id string + MerchantName string + Money float64 + type GlobalOption struct + AheadMs int + Count int + CronExpr string + Interval int + PushType int + type PushPlus struct + Token string + func (p *PushPlus) PushMarkdown(title string, content string) (string, error) + type Pusher interface + type Task struct + Coupon Coupon + CronExpr string + type TimeResponse struct + Code int + Data int64 + Msg string + SubCode int + type WxPusher struct + AppToken string + UId string + func (w *WxPusher) PushMarkdown(title string, content string) (string, error)