Revert "test"

This reverts commit 6a69fc034d.
This commit is contained in:
shoopea 2019-06-28 15:55:33 +08:00
parent 83362f2be6
commit 911e4d08a8

4
mq.go
View File

@ -2,7 +2,7 @@ package main
import ( import (
"errors" "errors"
//"log" "log"
"github.com/streadway/amqp" "github.com/streadway/amqp"
) )
@ -68,7 +68,7 @@ func (s MQSession) Open() error {
s.MQConnection.Close() s.MQConnection.Close()
return err return err
} }
//log.Printf("Open : MQ Connected to amqp://" + s.User + ":" + s.Password + "@" + s.Host + "/" + s.Path) log.Printf("Open : MQ Connected to amqp://" + s.User + ":" + s.Password + "@" + s.Host + "/" + s.Path)
s.isConnected = true s.isConnected = true
return nil return nil
} }