From 8e79be6f5b72eb40cccab075012fc3801b434b86 Mon Sep 17 00:00:00 2001 From: Ken Hibino Date: Mon, 6 Jan 2020 07:21:14 -0800 Subject: [PATCH] Update comment --- client.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client.go b/client.go index 1f228d1..a4f58a3 100644 --- a/client.go +++ b/client.go @@ -40,7 +40,7 @@ type ( ) // MaxRetry returns an option to specify the max number of times -// a task will be retried. +// the task will be retried. // // Negative retry count is treated as zero retry. func MaxRetry(n int) Option { @@ -50,11 +50,11 @@ func MaxRetry(n int) Option { return retryOption(n) } -// Queue returns an option to specify which queue to enqueue this task into. +// Queue returns an option to specify which queue to enqueue the task into. // // Queue name is case-insensitive and the lowercased version is used. -func Queue(qname string) Option { - return queueOption(strings.ToLower(qname)) +func Queue(name string) Option { + return queueOption(strings.ToLower(name)) } type option struct {