Skip to content

Commit e6a0363

Browse files
committed
chore: move appleboy/queue to golang-queue/queue
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 3b696d4 commit e6a0363

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Queue
22

3-
[![Run Tests](https://github.com/appleboy/queue/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/appleboy/queue/actions/workflows/go.yml)
4-
[![codecov](https://codecov.io/gh/appleboy/queue/branch/master/graph/badge.svg?token=V8A1WA0P5E)](https://codecov.io/gh/appleboy/queue)
5-
[![Build Status](https://cloud.drone.io/api/badges/appleboy/queue/status.svg)](https://cloud.drone.io/appleboy/queue)
3+
[![Run Tests](https://github.com/golang-queue/queue/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/golang-queue/queue/actions/workflows/go.yml)
4+
[![codecov](https://codecov.io/gh/golang-queue/queue/branch/master/graph/badge.svg?token=V8A1WA0P5E)](https://codecov.io/gh/golang-queue/queue)
5+
[![Build Status](https://cloud.drone.io/api/badges/golang-queue/queue/status.svg)](https://cloud.drone.io/golang-queue/queue)
66

77
Queue is a Golang library for spawning and managing a Goroutine pool, Alloowing you to create multiple worker according to limit CPU number of machine.
88

@@ -17,13 +17,13 @@ Queue is a Golang library for spawning and managing a Goroutine pool, Alloowing
1717
Install the stable version:
1818

1919
```sh
20-
go get github.com/appleboy/queue
20+
go get github.com/golang-queue/queue
2121
```
2222

2323
Install the latest verison:
2424

2525
```sh
26-
go get github.com/appleboy/queue@master
26+
go get github.com/golang-queue/queue@master
2727
```
2828

2929
## Usage
@@ -158,8 +158,8 @@ import (
158158
"log"
159159
"time"
160160

161-
"github.com/appleboy/queue"
162-
"github.com/appleboy/queue/simple"
161+
"github.com/golang-queue/queue"
162+
"github.com/golang-queue/queue/simple"
163163
)
164164

165165
type job struct {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/appleboy/queue
1+
module github.com/golang-queue/queue
22

33
go 1.16
44

nats/nats.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"sync/atomic"
88
"time"
99

10-
"github.com/appleboy/queue"
10+
"github.com/golang-queue/queue"
1111

1212
"github.com/nats-io/nats.go"
1313
)

nats/nats_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"testing"
1010
"time"
1111

12-
"github.com/appleboy/queue"
12+
"github.com/golang-queue/queue"
1313

1414
"github.com/stretchr/testify/assert"
1515
)

nsq/nsq.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"sync/atomic"
99
"time"
1010

11-
"github.com/appleboy/queue"
11+
"github.com/golang-queue/queue"
1212

1313
"github.com/nsqio/go-nsq"
1414
)

nsq/nsq_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"testing"
1010
"time"
1111

12-
"github.com/appleboy/queue"
12+
"github.com/golang-queue/queue"
1313

1414
"github.com/stretchr/testify/assert"
1515
)

simple/simple.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"sync/atomic"
99
"time"
1010

11-
"github.com/appleboy/queue"
11+
"github.com/golang-queue/queue"
1212
)
1313

1414
const defaultQueueSize = 4096

simple/simple_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"testing"
1010
"time"
1111

12-
"github.com/appleboy/queue"
12+
"github.com/golang-queue/queue"
1313

1414
"github.com/stretchr/testify/assert"
1515
)

0 commit comments

Comments
 (0)