diff --git a/benchmark_test.go b/benchmark_test.go index cbddb8d..efe729a 100644 --- a/benchmark_test.go +++ b/benchmark_test.go @@ -11,9 +11,9 @@ import ( "os" "testing" - "github.com/scylladb/gocqlx" - . "github.com/scylladb/gocqlx/gocqlxtest" - "github.com/scylladb/gocqlx/qb" + "github.com/scylladb/gocqlx/v2" + . "github.com/scylladb/gocqlx/v2/gocqlxtest" + "github.com/scylladb/gocqlx/v2/qb" ) type benchPerson struct { diff --git a/doc_test.go b/doc_test.go index 7dc1f92..64d3850 100644 --- a/doc_test.go +++ b/doc_test.go @@ -6,8 +6,8 @@ package gocqlx_test import ( "github.com/gocql/gocql" - "github.com/scylladb/gocqlx" - "github.com/scylladb/gocqlx/qb" + "github.com/scylladb/gocqlx/v2" + "github.com/scylladb/gocqlx/v2/qb" ) func ExampleSession() { diff --git a/example_test.go b/example_test.go index 1d87741..c625885 100644 --- a/example_test.go +++ b/example_test.go @@ -13,10 +13,10 @@ import ( "time" "github.com/gocql/gocql" - "github.com/scylladb/gocqlx" - "github.com/scylladb/gocqlx/gocqlxtest" - "github.com/scylladb/gocqlx/qb" - "github.com/scylladb/gocqlx/table" + "github.com/scylladb/gocqlx/v2" + "github.com/scylladb/gocqlx/v2/gocqlxtest" + "github.com/scylladb/gocqlx/v2/qb" + "github.com/scylladb/gocqlx/v2/table" "golang.org/x/sync/errgroup" ) diff --git a/gocqlxtest/gocqlxtest.go b/gocqlxtest/gocqlxtest.go index 2f28dfb..09c1ace 100644 --- a/gocqlxtest/gocqlxtest.go +++ b/gocqlxtest/gocqlxtest.go @@ -13,7 +13,7 @@ import ( "time" "github.com/gocql/gocql" - "github.com/scylladb/gocqlx" + "github.com/scylladb/gocqlx/v2" ) var ( diff --git a/iterx_test.go b/iterx_test.go index 0135889..5966f55 100644 --- a/iterx_test.go +++ b/iterx_test.go @@ -15,9 +15,9 @@ import ( "github.com/gocql/gocql" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - "github.com/scylladb/gocqlx" - . "github.com/scylladb/gocqlx/gocqlxtest" - "github.com/scylladb/gocqlx/qb" + "github.com/scylladb/gocqlx/v2" + . "github.com/scylladb/gocqlx/v2/gocqlxtest" + "github.com/scylladb/gocqlx/v2/qb" "gopkg.in/inf.v0" ) diff --git a/migrate/callback.go b/migrate/callback.go index 44aa505..b08e515 100644 --- a/migrate/callback.go +++ b/migrate/callback.go @@ -7,7 +7,7 @@ package migrate import ( "context" - "github.com/scylladb/gocqlx" + "github.com/scylladb/gocqlx/v2" ) // CallbackEvent specifies type of the event when calling CallbackFunc. diff --git a/migrate/migrate.go b/migrate/migrate.go index cf0c913..11e7123 100644 --- a/migrate/migrate.go +++ b/migrate/migrate.go @@ -18,8 +18,8 @@ import ( "time" "github.com/gocql/gocql" - "github.com/scylladb/gocqlx" - "github.com/scylladb/gocqlx/qb" + "github.com/scylladb/gocqlx/v2" + "github.com/scylladb/gocqlx/v2/qb" ) // DefaultAwaitSchemaAgreement controls whether checking for cluster schema agreement diff --git a/migrate/migrate_test.go b/migrate/migrate_test.go index 8798131..3032d28 100644 --- a/migrate/migrate_test.go +++ b/migrate/migrate_test.go @@ -15,9 +15,9 @@ import ( "strings" "testing" - "github.com/scylladb/gocqlx" - . "github.com/scylladb/gocqlx/gocqlxtest" - "github.com/scylladb/gocqlx/migrate" + "github.com/scylladb/gocqlx/v2" + . "github.com/scylladb/gocqlx/v2/gocqlxtest" + "github.com/scylladb/gocqlx/v2/migrate" ) var migrateSchema = ` diff --git a/queryx_bench_test.go b/queryx_bench_test.go index a490903..85502af 100644 --- a/queryx_bench_test.go +++ b/queryx_bench_test.go @@ -7,7 +7,7 @@ package gocqlx_test import ( "testing" - "github.com/scylladb/gocqlx" + "github.com/scylladb/gocqlx/v2" ) func BenchmarkCompileNamedQuery(b *testing.B) { diff --git a/table/table.go b/table/table.go index 73c7f28..036aa3d 100644 --- a/table/table.go +++ b/table/table.go @@ -4,7 +4,7 @@ package table -import "github.com/scylladb/gocqlx/qb" +import "github.com/scylladb/gocqlx/v2/qb" // Metadata represents table schema. type Metadata struct { diff --git a/table/table_test.go b/table/table_test.go index dd806e2..32871de 100644 --- a/table/table_test.go +++ b/table/table_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/google/go-cmp/cmp" - "github.com/scylladb/gocqlx/qb" + "github.com/scylladb/gocqlx/v2/qb" ) func TestTableGet(t *testing.T) {