mirror of
https://github.com/acaloiaro/neoq
synced 2026-07-21 18:29:08 +00:00
Simpllify getting started example in README.md
This commit is contained in:
parent
a9f2f6b4f4
commit
45adbf31c5
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ Enqueuing jobs adds jobs to the specified queue to be processed asynchronously.
|
|||
```go
|
||||
ctx := context.Background()
|
||||
nq, _ := neoq.New(ctx)
|
||||
jid, _ := nq.Enqueue(ctx, &jobs.Job{
|
||||
nq.Enqueue(ctx, &jobs.Job{
|
||||
Queue: "hello_world",
|
||||
Payload: map[string]interface{}{
|
||||
"message": "hello world",
|
||||
|
|
|
|||
Loading…
Reference in a new issue