Skip to content

Commit 1707530

Browse files
committed
update versioning
1 parent fdf27ea commit 1707530

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Benchmarks to support the above claims [here](#benchmarks)
1717
You need Golang [1.18.x](https://go.dev/dl/) or above since this package uses generics
1818

1919
```bash
20-
$ go get github.com/alphadose/[email protected].2
20+
$ go get github.com/alphadose/[email protected].3
2121
```
2222

2323
## Usage

benchmarks/e2e/benchmark_test.go

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

9-
"github.com/alphadose/zenq"
9+
"github.com/alphadose/zenq/v2"
1010
)
1111

1212
const bufferSize = 1 << 12

benchmarks/e2e/benchsuite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"sync"
55
"testing"
66

7-
"github.com/alphadose/zenq"
7+
"github.com/alphadose/zenq/v2"
88
)
99

1010
// wrapper for chan to have exactly the same api as zenq.

benchmarks/selector/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"time"
66

7-
"github.com/alphadose/zenq"
7+
"github.com/alphadose/zenq/v2"
88
)
99

1010
type custom1 struct {

benchmarks/simple/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"time"
66

7-
"github.com/alphadose/zenq"
7+
"github.com/alphadose/zenq/v2"
88
)
99

1010
// Example item which we will be writing to and reading from the queue

examples/selector/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"fmt"
55

6-
"github.com/alphadose/zenq"
6+
"github.com/alphadose/zenq/v2"
77
)
88

99
type custom1 struct {

examples/simple/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"runtime"
66

7-
"github.com/alphadose/zenq"
7+
"github.com/alphadose/zenq/v2"
88
)
99

1010
type payload struct {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/alphadose/zenq
1+
module github.com/alphadose/zenq/v2
22

33
go 1.18

lib_runtime_linkage.go

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

8-
"github.com/alphadose/zenq/constants"
8+
"github.com/alphadose/zenq/v2/constants"
99
)
1010

1111
const cacheLinePadSize = constants.CacheLinePadSize

0 commit comments

Comments
 (0)