From 32dfae7957ee09aae2f1200065588169f632e673 Mon Sep 17 00:00:00 2001 From: Jorge Cisneros Date: Fri, 1 May 2020 13:29:20 -0500 Subject: [PATCH] Update example on the Readme file Fix missed param in the example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 47eb733..8c7304d 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ func main() { // Receive a message from the queue, 0 gives you the top message regardless of // message type passed to send(). - response, mtype, err := mq.ReceiveString(0) + response, mtype, err := mq.ReceiveString(0, 0) if err != nil { fmt.Println(err) }