Simpllify getting started example in README.md

This commit is contained in:
Adriano Caloiaro 2023-03-01 11:08:05 -07:00
parent a9f2f6b4f4
commit 45adbf31c5
No known key found for this signature in database
GPG key ID: C2BC56DE73CE3F75

View file

@ -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",