diff --git a/BitSliceIndexing/bsi.go b/BitSliceIndexing/bsi.go index 01d3cb21..bda0c93b 100644 --- a/BitSliceIndexing/bsi.go +++ b/BitSliceIndexing/bsi.go @@ -7,7 +7,7 @@ import ( "sync" "sync/atomic" - "github.com/RoaringBitmap/roaring" + "github.com/RoaringBitmap/roaring/v2" ) const ( diff --git a/BitSliceIndexing/bsi_test.go b/BitSliceIndexing/bsi_test.go index fb2b9f41..9af7f6fe 100644 --- a/BitSliceIndexing/bsi_test.go +++ b/BitSliceIndexing/bsi_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/RoaringBitmap/roaring" + "github.com/RoaringBitmap/roaring/v2" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/README.md b/README.md index ce9185a7..6810b81e 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ package main import ( "fmt" - "github.com/RoaringBitmap/roaring" + "github.com/RoaringBitmap/roaring/v2" "bytes" ) @@ -285,7 +285,7 @@ package main import ( "fmt" - "github.com/RoaringBitmap/roaring/roaring64" + "github.com/RoaringBitmap/roaring/v2/roaring64" "bytes" ) diff --git a/go.mod b/go.mod index a9c5983f..2602690f 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,6 @@ module github.com/RoaringBitmap/roaring/v2 go 1.14 require ( - github.com/RoaringBitmap/roaring v1.9.4 github.com/bits-and-blooms/bitset v1.12.0 github.com/mschoch/smat v0.2.0 github.com/stretchr/testify v1.7.0 diff --git a/go.sum b/go.sum index 2fe5cba2..9d4dc8aa 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,3 @@ -github.com/RoaringBitmap/roaring v1.9.4 h1:yhEIoH4YezLYT04s1nHehNO64EKFTop/wBhxv2QzDdQ= -github.com/RoaringBitmap/roaring v1.9.4/go.mod h1:6AXUsoIEzDTFFQCe1RbGA6uFONMhvejWj5rqITANK90= github.com/bits-and-blooms/bitset v1.12.0 h1:U/q1fAF7xXRhFCrhROzIfffYnu+dlS38vCZtmFVPHmA= github.com/bits-and-blooms/bitset v1.12.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= diff --git a/optimize_test.go b/optimize_test.go index ac25aa76..3322881f 100644 --- a/optimize_test.go +++ b/optimize_test.go @@ -1,7 +1,7 @@ package roaring_test import ( - "github.com/RoaringBitmap/roaring" + "github.com/RoaringBitmap/roaring/v2" "testing" ) diff --git a/roaring64/iterables64.go b/roaring64/iterables64.go index 73e4f185..df19fac1 100644 --- a/roaring64/iterables64.go +++ b/roaring64/iterables64.go @@ -1,7 +1,7 @@ package roaring64 import ( - "github.com/RoaringBitmap/roaring" + "github.com/RoaringBitmap/roaring/v2" ) // IntIterable64 allows you to iterate over the values in a Bitmap diff --git a/roaring64/iterables64_test.go b/roaring64/iterables64_test.go index a34afaa9..044861e8 100644 --- a/roaring64/iterables64_test.go +++ b/roaring64/iterables64_test.go @@ -4,7 +4,7 @@ import ( "math" "testing" - "github.com/RoaringBitmap/roaring" + "github.com/RoaringBitmap/roaring/v2" "github.com/stretchr/testify/assert" ) diff --git a/roaring64/parallel64.go b/roaring64/parallel64.go index 6fe1803b..d6548bba 100644 --- a/roaring64/parallel64.go +++ b/roaring64/parallel64.go @@ -4,7 +4,7 @@ import ( "fmt" "runtime" - "github.com/RoaringBitmap/roaring" + "github.com/RoaringBitmap/roaring/v2" ) var defaultWorkerCount = runtime.NumCPU() diff --git a/roaring64/roaring64.go b/roaring64/roaring64.go index 0584f071..50a7edb4 100644 --- a/roaring64/roaring64.go +++ b/roaring64/roaring64.go @@ -8,7 +8,7 @@ import ( "io" "strconv" - "github.com/RoaringBitmap/roaring" + "github.com/RoaringBitmap/roaring/v2" "github.com/RoaringBitmap/roaring/v2/internal" ) diff --git a/roaring64/roaring64_test.go b/roaring64/roaring64_test.go index 92bfc8fb..98a80ec1 100644 --- a/roaring64/roaring64_test.go +++ b/roaring64/roaring64_test.go @@ -6,7 +6,7 @@ import ( "strconv" "testing" - "github.com/RoaringBitmap/roaring" + "github.com/RoaringBitmap/roaring/v2" "github.com/bits-and-blooms/bitset" "github.com/stretchr/testify/assert" ) diff --git a/roaring64/roaringarray64.go b/roaring64/roaringarray64.go index 26aabd72..5bd885df 100644 --- a/roaring64/roaringarray64.go +++ b/roaring64/roaringarray64.go @@ -1,7 +1,7 @@ package roaring64 import ( - "github.com/RoaringBitmap/roaring" + "github.com/RoaringBitmap/roaring/v2" ) type roaringArray64 struct { diff --git a/roaring64/util.go b/roaring64/util.go index 3743cd7d..6e576340 100644 --- a/roaring64/util.go +++ b/roaring64/util.go @@ -1,6 +1,6 @@ package roaring64 -import "github.com/RoaringBitmap/roaring" +import "github.com/RoaringBitmap/roaring/v2" func highbits(x uint64) uint32 { return uint32(x >> 32)