Skip to content

Commit

Permalink
chore: move appleboy/queue to golang-queue/queue
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Aug 15, 2021
1 parent 3b696d4 commit e6a0363
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Queue

[![Run Tests](https://github.com/appleboy/queue/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/appleboy/queue/actions/workflows/go.yml)
[![codecov](https://codecov.io/gh/appleboy/queue/branch/master/graph/badge.svg?token=V8A1WA0P5E)](https://codecov.io/gh/appleboy/queue)
[![Build Status](https://cloud.drone.io/api/badges/appleboy/queue/status.svg)](https://cloud.drone.io/appleboy/queue)
[![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)
[![codecov](https://codecov.io/gh/golang-queue/queue/branch/master/graph/badge.svg?token=V8A1WA0P5E)](https://codecov.io/gh/golang-queue/queue)
[![Build Status](https://cloud.drone.io/api/badges/golang-queue/queue/status.svg)](https://cloud.drone.io/golang-queue/queue)

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.

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

```sh
go get github.com/appleboy/queue
go get github.com/golang-queue/queue
```

Install the latest verison:

```sh
go get github.com/appleboy/queue@master
go get github.com/golang-queue/queue@master
```

## Usage
Expand Down Expand Up @@ -158,8 +158,8 @@ import (
"log"
"time"

"github.com/appleboy/queue"
"github.com/appleboy/queue/simple"
"github.com/golang-queue/queue"
"github.com/golang-queue/queue/simple"
)

type job struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/appleboy/queue
module github.com/golang-queue/queue

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion nats/nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sync/atomic"
"time"

"github.com/appleboy/queue"
"github.com/golang-queue/queue"

"github.com/nats-io/nats.go"
)
Expand Down
2 changes: 1 addition & 1 deletion nats/nats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/appleboy/queue"
"github.com/golang-queue/queue"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion nsq/nsq.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"sync/atomic"
"time"

"github.com/appleboy/queue"
"github.com/golang-queue/queue"

"github.com/nsqio/go-nsq"
)
Expand Down
2 changes: 1 addition & 1 deletion nsq/nsq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/appleboy/queue"
"github.com/golang-queue/queue"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion simple/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"sync/atomic"
"time"

"github.com/appleboy/queue"
"github.com/golang-queue/queue"
)

const defaultQueueSize = 4096
Expand Down
2 changes: 1 addition & 1 deletion simple/simple_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/appleboy/queue"
"github.com/golang-queue/queue"

"github.com/stretchr/testify/assert"
)
Expand Down

0 comments on commit e6a0363

Please sign in to comment.