Skip to content

Commit 5bc0331

Browse files
committed
update badge
1 parent 7c9a1ee commit 5bc0331

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Task_Queue
22

3-
[![CircleCI](https://circleci.com/gh/nozo-moto/taskqueue.svg?style=svg)](https://circleci.com/gh/nozo-moto/taskqueue)
3+
[![build](https://github.com/nozo-moto/taskqueue/actions/workflows/go.yml/badge.svg)](https://github.com/nozo-moto/taskqueue/actions/workflows/go.yml)
44

55
This is task queue worker. I create referencing TaskQueue of GCP.
66
You can set task's interval time, and retry count.
@@ -23,7 +23,7 @@ go taskQueue.Run()
2323
err := taskQueue.Add(
2424
func(args ...interface{}) error {
2525
// Get Agument
26-
index, ok := args[0].([]interface{})[0].(int)
26+
index, ok := args[0].([]interface{})[0].(int)
2727
if !ok {
2828
panic("error assation not good")
2929
}
@@ -32,7 +32,7 @@ err := taskQueue.Add(
3232
return nil
3333
},
3434
3, // Retry Count
35-
index, // Argument
35+
index, // Argument
3636
)
3737

3838
```

0 commit comments

Comments
 (0)