From 1482f1b4383f5d8629666d533e08724d3103eef7 Mon Sep 17 00:00:00 2001 From: Andrei Pechkurov <37772591+puzpuzpuz@users.noreply.github.com> Date: Wed, 26 Oct 2022 19:13:40 +0300 Subject: [PATCH] Update version in package name (#61) --- counter_test.go | 2 +- example_test.go | 2 +- go.mod | 2 +- map_test.go | 2 +- mapof_test.go | 2 +- mpmcqueue_test.go | 2 +- rbmutex_test.go | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/counter_test.go b/counter_test.go index 0435fa6..01681b3 100644 --- a/counter_test.go +++ b/counter_test.go @@ -5,7 +5,7 @@ import ( "sync/atomic" "testing" - . "github.com/puzpuzpuz/xsync" + . "github.com/puzpuzpuz/xsync/v2" ) func TestCounterInc(t *testing.T) { diff --git a/example_test.go b/example_test.go index 93035ab..68cbe35 100644 --- a/example_test.go +++ b/example_test.go @@ -8,7 +8,7 @@ import ( "hash/maphash" "time" - "github.com/puzpuzpuz/xsync" + "github.com/puzpuzpuz/xsync/v2" ) func ExampleNewTypedMapOf() { diff --git a/go.mod b/go.mod index 262ba39..d037ee9 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/puzpuzpuz/xsync +module github.com/puzpuzpuz/xsync/v2 go 1.18 diff --git a/map_test.go b/map_test.go index d2b3b66..a7e9d27 100644 --- a/map_test.go +++ b/map_test.go @@ -12,7 +12,7 @@ import ( "time" "unsafe" - . "github.com/puzpuzpuz/xsync" + . "github.com/puzpuzpuz/xsync/v2" ) const ( diff --git a/mapof_test.go b/mapof_test.go index 062b289..ff54594 100644 --- a/mapof_test.go +++ b/mapof_test.go @@ -13,7 +13,7 @@ import ( "testing" "time" - . "github.com/puzpuzpuz/xsync" + . "github.com/puzpuzpuz/xsync/v2" ) func TestMapOf_UniqueValuePointers_Int(t *testing.T) { diff --git a/mpmcqueue_test.go b/mpmcqueue_test.go index 57e3399..e9b9c97 100644 --- a/mpmcqueue_test.go +++ b/mpmcqueue_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - . "github.com/puzpuzpuz/xsync" + . "github.com/puzpuzpuz/xsync/v2" ) func TestQueue_InvalidSize(t *testing.T) { diff --git a/rbmutex_test.go b/rbmutex_test.go index b66983b..c6cf4b7 100644 --- a/rbmutex_test.go +++ b/rbmutex_test.go @@ -11,7 +11,7 @@ import ( "sync/atomic" "testing" - . "github.com/puzpuzpuz/xsync" + . "github.com/puzpuzpuz/xsync/v2" ) func TestRBMutexSerialReader(t *testing.T) {