This commit is contained in:
cdle
2021-09-20 18:25:28 +08:00
parent 0db1c1e3f7
commit e9ca8d7fc9
+1
View File
@@ -39,6 +39,7 @@ func init() {
sender.uid = int(time.Now().UnixNano()) sender.uid = int(time.Now().UnixNano())
u2i.Set(msg.FromUserName, sender.uid) u2i.Set(msg.FromUserName, sender.uid)
} }
core.Senders <- sender
end := <-sender.Wait end := <-sender.Wait
fmt.Println(end) fmt.Println(end)
if end == "" { if end == "" {