diff --git a/README.md b/README.md index 326e348..e4693c8 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 @@ -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 { diff --git a/go.mod b/go.mod index e429603..76b8370 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/appleboy/queue +module github.com/golang-queue/queue go 1.16 diff --git a/nats/nats.go b/nats/nats.go index 8cc1900..a923c8c 100644 --- a/nats/nats.go +++ b/nats/nats.go @@ -7,7 +7,7 @@ import ( "sync/atomic" "time" - "github.com/appleboy/queue" + "github.com/golang-queue/queue" "github.com/nats-io/nats.go" ) diff --git a/nats/nats_test.go b/nats/nats_test.go index 7caf1e1..8cfab63 100644 --- a/nats/nats_test.go +++ b/nats/nats_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/appleboy/queue" + "github.com/golang-queue/queue" "github.com/stretchr/testify/assert" ) diff --git a/nsq/nsq.go b/nsq/nsq.go index b9e7788..792fd46 100644 --- a/nsq/nsq.go +++ b/nsq/nsq.go @@ -8,7 +8,7 @@ import ( "sync/atomic" "time" - "github.com/appleboy/queue" + "github.com/golang-queue/queue" "github.com/nsqio/go-nsq" ) diff --git a/nsq/nsq_test.go b/nsq/nsq_test.go index b77c145..3f1f6be 100644 --- a/nsq/nsq_test.go +++ b/nsq/nsq_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/appleboy/queue" + "github.com/golang-queue/queue" "github.com/stretchr/testify/assert" ) diff --git a/simple/simple.go b/simple/simple.go index 49eb585..f7de2a8 100644 --- a/simple/simple.go +++ b/simple/simple.go @@ -8,7 +8,7 @@ import ( "sync/atomic" "time" - "github.com/appleboy/queue" + "github.com/golang-queue/queue" ) const defaultQueueSize = 4096 diff --git a/simple/simple_test.go b/simple/simple_test.go index befc5eb..7a1ae33 100644 --- a/simple/simple_test.go +++ b/simple/simple_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/appleboy/queue" + "github.com/golang-queue/queue" "github.com/stretchr/testify/assert" )