fix
This commit is contained in:
parent
86d854237e
commit
c2c9eaa4a0
4
main.go
4
main.go
@ -96,7 +96,7 @@ func main() {
|
|||||||
for {
|
for {
|
||||||
time.Sleep(30 * time.Second)
|
time.Sleep(30 * time.Second)
|
||||||
}
|
}
|
||||||
fmt.Println("Why am I here ?")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func ListenCW(c *tdlib.Client) {
|
func ListenCW(c *tdlib.Client) {
|
||||||
@ -109,7 +109,7 @@ func ListenCW(c *tdlib.Client) {
|
|||||||
return false
|
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 {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user