Skip to content

Commit 0c605f7

Browse files
committed
Update send.go in tutorial 1 for golang
Go1.5 for linux - need comma after amqp.Publishing
1 parent 8c07f54 commit 0c605f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/send.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func main() {
4242
amqp.Publishing{
4343
ContentType: "text/plain",
4444
Body: []byte(body),
45-
})
45+
},)
4646
log.Printf(" [x] Sent %s", body)
4747
failOnError(err, "Failed to publish a message")
4848
}

0 commit comments

Comments
 (0)