diff --git a/README.md b/README.md index 464dc2d..7110b9c 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Benchmarks to support the above claims [here](#benchmarks) You need Golang [1.18.x](https://go.dev/dl/) or above since this package uses generics ```bash -$ go get github.com/alphadose/zenq@v2.6.2 +$ go get github.com/alphadose/zenq@v2.6.3 ``` ## Usage diff --git a/benchmarks/e2e/benchmark_test.go b/benchmarks/e2e/benchmark_test.go index 8afdd4a..9788f8a 100644 --- a/benchmarks/e2e/benchmark_test.go +++ b/benchmarks/e2e/benchmark_test.go @@ -6,7 +6,7 @@ import ( "sync" "testing" - "github.com/alphadose/zenq" + "github.com/alphadose/zenq/v2" ) const bufferSize = 1 << 12 diff --git a/benchmarks/e2e/benchsuite_test.go b/benchmarks/e2e/benchsuite_test.go index 9503323..ea517f7 100644 --- a/benchmarks/e2e/benchsuite_test.go +++ b/benchmarks/e2e/benchsuite_test.go @@ -4,7 +4,7 @@ import ( "sync" "testing" - "github.com/alphadose/zenq" + "github.com/alphadose/zenq/v2" ) // wrapper for chan to have exactly the same api as zenq. diff --git a/benchmarks/selector/main.go b/benchmarks/selector/main.go index c8d995f..ff32455 100644 --- a/benchmarks/selector/main.go +++ b/benchmarks/selector/main.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/alphadose/zenq" + "github.com/alphadose/zenq/v2" ) type custom1 struct { diff --git a/benchmarks/simple/main.go b/benchmarks/simple/main.go index 5e61a35..3f2cad8 100644 --- a/benchmarks/simple/main.go +++ b/benchmarks/simple/main.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/alphadose/zenq" + "github.com/alphadose/zenq/v2" ) // Example item which we will be writing to and reading from the queue diff --git a/examples/selector/main.go b/examples/selector/main.go index fcf85a3..4aa1eb7 100644 --- a/examples/selector/main.go +++ b/examples/selector/main.go @@ -3,7 +3,7 @@ package main import ( "fmt" - "github.com/alphadose/zenq" + "github.com/alphadose/zenq/v2" ) type custom1 struct { diff --git a/examples/simple/main.go b/examples/simple/main.go index 9f9a5b8..406cb02 100644 --- a/examples/simple/main.go +++ b/examples/simple/main.go @@ -4,7 +4,7 @@ import ( "fmt" "runtime" - "github.com/alphadose/zenq" + "github.com/alphadose/zenq/v2" ) type payload struct { diff --git a/go.mod b/go.mod index 39f9564..88e1be0 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/alphadose/zenq +module github.com/alphadose/zenq/v2 go 1.18 diff --git a/lib_runtime_linkage.go b/lib_runtime_linkage.go index 01142f8..bb637dc 100644 --- a/lib_runtime_linkage.go +++ b/lib_runtime_linkage.go @@ -5,7 +5,7 @@ import ( "unsafe" _ "unsafe" - "github.com/alphadose/zenq/constants" + "github.com/alphadose/zenq/v2/constants" ) const cacheLinePadSize = constants.CacheLinePadSize