Updating Go impl to use amqp uri from env

This commit is contained in:
Dan Buch
2012-11-17 08:10:11 -05:00
parent 13d3d28fe3
commit 148cf7ef95
3 changed files with 11 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ import (
)
func main() {
connection, err := amqp.Dial("amqp://guest:guest@localhost:5672")
connection, err := amqp.Dial(sylvilagus.AMQP_URI)
if err != nil {
log.Fatal("Failed to connect!: ", err)
}