[ci skip] Update docs

This commit is contained in:
Ken Hibino
2020-01-16 19:50:45 -08:00
parent 43d7591250
commit 0c2591ad7e
5 changed files with 26 additions and 23 deletions

2
doc.go
View File

@@ -50,8 +50,6 @@ Example of a type that implements the Handler interface.
case "send_email":
id, err := task.Payload.GetInt("user_id")
// send email
case "generate_thumbnail":
// generate thumbnail image
//...
default:
return fmt.Errorf("unexpected task type %q", task.Type)