golang token stamp random id session 七月 05, 2017 crutime := time.Now().Unix() h := md5.New() io.WriteString(h, strconv.FormatInt(crutime, 10)) token := fmt.Sprintf("%x", h.Sum(nil)) 共享 获取链接 Facebook X Pinterest 电子邮件 其他应用 共享 获取链接 Facebook X Pinterest 电子邮件 其他应用 评论
评论
发表评论