From c2c9eaa4a0634e609936886659692212a59f03e3 Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 29 Apr 2019 14:14:08 +0800 Subject: [PATCH] fix --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 7ef6fdd..b534bdc 100644 --- a/main.go +++ b/main.go @@ -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) }