From 0382fc1d08db239b3ee400c8ac0a625d0ad99173 Mon Sep 17 00:00:00 2001 From: Ken Hibino Date: Sat, 7 Dec 2019 08:47:17 -0800 Subject: [PATCH] Fix readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dee942f..0bee5e6 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ func main() { } // if handler returns an error or panics, the task will be retried after some delay. -func handler(t *Task) error { +func handler(t *asynq.Task) error { switch t.Type { case "send_welcome_email": rid, ok := t.Payload["recipient_id"]