From 27baf6de0d5acded5df964919237649407cac266 Mon Sep 17 00:00:00 2001 From: Ken Hibino Date: Mon, 14 Jun 2021 12:31:09 -0700 Subject: [PATCH] Fix error in readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e2ecfda..aa5cff3 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ func main() { if err != nil { log.Fatalf("could not enqueue task: %v", err) } - fmt.Printf("enqueued task: id=%s queue=%s\n", info.ID(), info.Queue()) + fmt.Printf("enqueued task: id=%s queue=%s\n", info.ID, info.Queue) // ------------------------------------------------------------ @@ -193,7 +193,7 @@ func main() { if err != nil { log.Fatalf("could not schedule task: %v", err) } - fmt.Printf("enqueued task: id=%s queue=%s\n", info.ID(), info.Queue()) + fmt.Printf("enqueued task: id=%s queue=%s\n", info.ID, info.Queue) // ---------------------------------------------------------------------------- @@ -211,7 +211,7 @@ func main() { if err != nil { log.Fatalf("could not enqueue task: %v", err) } - fmt.Printf("enqueued task: id=%s queue=%s\n", info.ID(), info.Queue()) + fmt.Printf("enqueued task: id=%s queue=%s\n", info.ID, info.Queue) // --------------------------------------------------------------------------- // Example 4: Pass options to tune task processing behavior at enqueue time. @@ -222,7 +222,7 @@ func main() { if err != nil { log.Fatal("could not enqueue task: %v", err) } - fmt.Printf("enqueued task: id=%s queue=%s\n", info.ID(), info.Queue()) + fmt.Printf("enqueued task: id=%s queue=%s\n", info.ID, info.Queue) } ```