Skip to content

Commit 590e01e

Browse files
authored
Merge pull request #2 from blazium-engine/fork-rename
fork rename
2 parents 9207e02 + f4d77f6 commit 590e01e

19 files changed

+48
-48
lines changed

README.md

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

3-
[![CodeQL](https://github.com/golang-queue/queue/actions/workflows/codeql.yaml/badge.svg)](https://github.com/golang-queue/queue/actions/workflows/codeql.yaml)
4-
[![Run Tests](https://github.com/golang-queue/queue/actions/workflows/go.yml/badge.svg)](https://github.com/golang-queue/queue/actions/workflows/go.yml)
5-
[![codecov](https://codecov.io/gh/golang-queue/queue/branch/master/graph/badge.svg?token=SSo3mHejOE)](https://codecov.io/gh/golang-queue/queue)
3+
[![CodeQL](https://github.com/blazium-engine/go-queue/actions/workflows/codeql.yaml/badge.svg)](https://github.com/blazium-engine/go-queue/actions/workflows/codeql.yaml)
4+
[![Run Tests](https://github.com/blazium-engine/go-queue/actions/workflows/go.yml/badge.svg)](https://github.com/blazium-engine/go-queue/actions/workflows/go.yml)
5+
[![codecov](https://codecov.io/gh/blazium-engine/go-queue/branch/master/graph/badge.svg?token=SSo3mHejOE)](https://codecov.io/gh/blazium-engine/go-queue)
66

77
Queue is a Golang library for spawning and managing a Goroutine pool, allowing you to create multiple workers based on the CPU capacity of the machine.
88

@@ -38,13 +38,13 @@ Go version **1.22** or above
3838
Install the stable version:
3939

4040
```sh
41-
go get github.com/golang-queue/queue
41+
go get github.com/blazium-engine/go-queue
4242
```
4343

4444
Install the latest version:
4545

4646
```sh
47-
go get github.com/golang-queue/queue@master
47+
go get github.com/blazium-engine/go-queue@master
4848
```
4949

5050
## Usage
@@ -61,7 +61,7 @@ import (
6161
"fmt"
6262
"time"
6363

64-
"github.com/golang-queue/queue"
64+
"github.com/blazium-engine/go-queue"
6565
)
6666

6767
func main() {
@@ -108,8 +108,8 @@ import (
108108
"log"
109109
"time"
110110

111-
"github.com/golang-queue/queue"
112-
"github.com/golang-queue/queue/core"
111+
"github.com/blazium-engine/go-queue"
112+
"github.com/blazium-engine/go-queue/core"
113113
)
114114

115115
type job struct {
@@ -178,8 +178,8 @@ import (
178178
"time"
179179

180180
"github.com/golang-queue/nsq"
181-
"github.com/golang-queue/queue"
182-
"github.com/golang-queue/queue/core"
181+
"github.com/blazium-engine/go-queue"
182+
"github.com/blazium-engine/go-queue/core"
183183
)
184184

185185
type job struct {
@@ -257,8 +257,8 @@ import (
257257
"time"
258258

259259
"github.com/golang-queue/nats"
260-
"github.com/golang-queue/queue"
261-
"github.com/golang-queue/queue/core"
260+
"github.com/blazium-engine/go-queue"
261+
"github.com/blazium-engine/go-queue/core"
262262
)
263263

264264
type job struct {
@@ -339,8 +339,8 @@ import (
339339
"log"
340340
"time"
341341

342-
"github.com/golang-queue/queue"
343-
"github.com/golang-queue/queue/core"
342+
"github.com/blazium-engine/go-queue"
343+
"github.com/blazium-engine/go-queue/core"
344344
"github.com/golang-queue/redisdb"
345345
)
346346

_example/example01/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ go 1.22
44

55
require (
66
github.com/golang-queue/contrib v0.0.1
7-
github.com/golang-queue/queue v0.2.0
7+
github.com/blazium-engine/go-queue v0.2.0
88
)
99

1010
require (
1111
github.com/jpillora/backoff v1.0.0 // indirect
1212
github.com/rs/zerolog v1.26.1 // indirect
1313
)
1414

15-
replace github.com/golang-queue/queue => ../../
15+
replace github.com/blazium-engine/go-queue => ../../

_example/example01/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"fmt"
66
"time"
77

8+
"github.com/blazium-engine/go-queue"
89
"github.com/golang-queue/contrib/zerolog"
9-
"github.com/golang-queue/queue"
1010
)
1111

1212
func main() {

_example/example02/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.22
44

55
require (
66
github.com/golang-queue/contrib v1.1.0
7-
github.com/golang-queue/queue v0.2.0
7+
github.com/blazium-engine/go-queue v0.2.0
88
)
99

1010
require (
@@ -15,4 +15,4 @@ require (
1515
golang.org/x/sys v0.29.0 // indirect
1616
)
1717

18-
replace github.com/golang-queue/queue => ../../
18+
replace github.com/blazium-engine/go-queue => ../../

_example/example02/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"log"
88
"time"
99

10+
"github.com/blazium-engine/go-queue"
11+
"github.com/blazium-engine/go-queue/core"
1012
"github.com/golang-queue/contrib/zerolog"
11-
"github.com/golang-queue/queue"
12-
"github.com/golang-queue/queue/core"
1313
)
1414

1515
type job struct {

benchmark_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/golang-queue/queue/core"
9-
"github.com/golang-queue/queue/job"
8+
"github.com/blazium-engine/go-queue/core"
9+
"github.com/blazium-engine/go-queue/job"
1010
)
1111

1212
var count = 1

go.mod

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

33
go 1.22
44

job/job.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"encoding/json"
66
"time"
77

8-
"github.com/golang-queue/queue/core"
8+
"github.com/blazium-engine/go-queue/core"
99
)
1010

1111
// TaskFunc is the task function

metric_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"testing"
77
"time"
88

9-
"github.com/golang-queue/queue/core"
9+
"github.com/blazium-engine/go-queue/core"
1010

1111
"github.com/stretchr/testify/assert"
1212
)

mocks/mock_queued_message.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)