This commit is contained in:
shoopea 2019-04-29 14:14:08 +08:00
parent 86d854237e
commit c2c9eaa4a0

View File

@ -96,7 +96,7 @@ func main() {
for {
time.Sleep(30 * time.Second)
}
fmt.Println("Why am I here ?")
}
func ListenCW(c *tdlib.Client) {
@ -109,7 +109,7 @@ func ListenCW(c *tdlib.Client) {
return false
}
conn, err := amqp.Dial("amqp://shoopea:UmDd5g4WRa2MzqOHsG2T@localhost:5672/chatwars/" + strconv.FormatInt(ownUserID64, 10))
conn, err := amqp.Dial("amqp://shoopea:UmDd5g4WRa2MzqOHsG2T@localhost:5672/chatwars_shoopea")
if err != nil {
log.Fatal(err)
}