Skip to content

Commit

Permalink
fix readme example
Browse files Browse the repository at this point in the history
naueramant committed Dec 22, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 5d762c4 commit 0b505f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ func main() {
task := boomerang.NewTask(
"greeter",
"some-unique-id",
"Hello!",
[]byte("Hello!"),
)

// Schedule task for execution every second starting from now
@@ -39,7 +39,7 @@ func main() {
}

sch.On(ctx, "greeter", func(ctx context.Context, task *boomerang.Task) {
fmt.Println(task.Data)
fmt.Printf("%s\n", task.Data)
})
}
```

0 comments on commit 0b505f5

Please sign in to comment.