From 9cee2c85e896fb936727a42393e1647b71c7ac00 Mon Sep 17 00:00:00 2001 From: Aman Mangal Date: Wed, 5 Apr 2023 00:55:05 +0530 Subject: [PATCH] upgrade dgo to v230 --- chunker/json_parser.go | 2 +- chunker/json_parser_test.go | 2 +- chunker/rdf_parser.go | 2 +- chunker/rdf_parser_test.go | 2 +- conn/node.go | 2 +- conn/pool.go | 2 +- conn/raft_server.go | 2 +- contrib/integration/acctupsert/main.go | 4 ++-- contrib/integration/bank/main.go | 4 ++-- contrib/integration/bigdata/main.go | 4 ++-- contrib/integration/mutates/main.go | 4 ++-- contrib/integration/swap/main.go | 4 ++-- contrib/integration/testtxn/main_test.go | 4 ++-- dgraph/cmd/alpha/http.go | 2 +- dgraph/cmd/alpha/login_ee.go | 2 +- dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go | 4 ++-- dgraph/cmd/alpha/run.go | 2 +- dgraph/cmd/alpha/run_test.go | 4 ++-- dgraph/cmd/alpha/upsert_test.go | 4 ++-- dgraph/cmd/bulk/mapper.go | 2 +- dgraph/cmd/increment/increment.go | 6 +++--- dgraph/cmd/increment/increment_test.go | 4 ++-- dgraph/cmd/live/batch.go | 4 ++-- dgraph/cmd/live/load-json/load_test.go | 2 +- dgraph/cmd/live/load-uids/load_test.go | 4 ++-- dgraph/cmd/live/run.go | 4 ++-- dgraph/cmd/zero/oracle.go | 2 +- dgraph/cmd/zero/zero.go | 2 +- dgraphtest/cluster.go | 4 ++-- dgraphtest/compose_cluster.go | 2 +- dgraphtest/dcloud_cluster.go | 4 ++-- dgraphtest/local_cluster.go | 4 ++-- dql/mutation.go | 2 +- dql/parser_mutation.go | 2 +- dql/parser_test.go | 2 +- edgraph/access.go | 2 +- edgraph/access_ee.go | 2 +- edgraph/graphql.go | 2 +- edgraph/multi_tenancy_ee.go | 2 +- edgraph/server.go | 4 ++-- edgraph/server_test.go | 2 +- ee/acl/acl.go | 4 ++-- ee/acl/acl_test.go | 4 ++-- ee/acl/utils.go | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- graphql/admin/login.go | 2 +- graphql/admin/update_group.go | 2 +- graphql/dgraph/execute.go | 2 +- graphql/e2e/common/admin.go | 4 ++-- graphql/e2e/common/common.go | 4 ++-- graphql/e2e/common/error.go | 4 ++-- graphql/e2e/common/mutation.go | 4 ++-- graphql/e2e/common/query.go | 4 ++-- graphql/e2e/common/schema.go | 4 ++-- graphql/e2e/schema/schema_test.go | 2 +- graphql/resolve/auth_test.go | 2 +- graphql/resolve/mutation.go | 2 +- graphql/resolve/mutation_rewriter.go | 2 +- graphql/resolve/mutation_test.go | 2 +- graphql/resolve/query.go | 2 +- graphql/resolve/resolver.go | 2 +- graphql/resolve/resolver_error_test.go | 2 +- posting/list_test.go | 2 +- posting/lists.go | 2 +- posting/mvcc.go | 2 +- posting/size.go | 2 +- posting/size_test.go | 2 +- protos/Makefile | 2 +- protos/pb/pb.pb.go | 2 +- query/common_test.go | 2 +- query/mutation.go | 2 +- query/mutation_test.go | 2 +- query/outputnode.go | 2 +- query/query0_test.go | 2 +- query/query1_test.go | 2 +- query/query4_test.go | 2 +- systest/1million/1million_test.go | 2 +- systest/acl/restore/acl_restore_test.go | 4 ++-- systest/backup/encryption/backup_test.go | 2 +- systest/backup/filesystem/backup_test.go | 4 ++-- systest/backup/minio-large/backup_test.go | 4 ++-- systest/backup/minio/backup_test.go | 4 ++-- systest/backup/multi-tenancy/backup_test.go | 4 ++-- systest/backup/nfs-backup/backup_test.go | 4 ++-- systest/bgindex/common_test.go | 2 +- systest/bgindex/count_test.go | 4 ++-- systest/bgindex/parallel_test.go | 4 ++-- systest/bgindex/reverse_test.go | 4 ++-- systest/bgindex/string_test.go | 4 ++-- systest/bulk_live/common/bulk_live_cases.go | 2 +- systest/bulk_live/common/bulk_live_fixture.go | 2 +- systest/cloud/cloud_test.go | 2 +- systest/export/export_test.go | 4 ++-- systest/group-delete/group_delete_test.go | 4 ++-- systest/live_pw_test.go | 4 ++-- systest/loader/loader_test.go | 2 +- systest/multi-tenancy/basic_test.go | 4 ++-- systest/mutations_test.go | 4 ++-- systest/online-restore/online_restore_test.go | 4 ++-- systest/plugin/plugin_test.go | 2 +- systest/posting-list-benchmark/main.go | 4 ++-- systest/queries_test.go | 4 ++-- testutil/backup.go | 2 +- testutil/client.go | 4 ++-- testutil/multi_tenancy.go | 4 ++-- testutil/schema.go | 2 +- testutil/utils.go | 2 +- testutil/zero.go | 4 ++-- tlstest/certrequest/certrequest_test.go | 2 +- tlstest/certrequireandverify/certrequireandverify_test.go | 2 +- tlstest/certverifyifgiven/certverifyifgiven_test.go | 2 +- tlstest/mtls_internal/ha_6_node/ha_test.go | 4 ++-- tlstest/mtls_internal/multi_group/multi_group_test.go | 4 ++-- tlstest/mtls_internal/single_node/single_node_test.go | 4 ++-- types/conversion.go | 2 +- types/facets/facet_types.go | 2 +- types/facets/utils.go | 2 +- upgrade/change_v20.03.0.go | 2 +- upgrade/change_v20.07.0.go | 4 ++-- upgrade/change_v21.03.0.go | 4 ++-- upgrade/utils.go | 4 ++-- upgrade/utils_test.go | 2 +- worker/export.go | 2 +- worker/export_test.go | 2 +- worker/groups.go | 2 +- worker/mutation.go | 4 ++-- worker/predicate_move.go | 2 +- worker/snapshot_test.go | 4 ++-- worker/task.go | 2 +- worker/worker_test.go | 4 ++-- x/x.go | 4 ++-- xidmap/xidmap.go | 2 +- 133 files changed, 193 insertions(+), 193 deletions(-) diff --git a/chunker/json_parser.go b/chunker/json_parser.go index 187631a63e3..2aac6c36d5f 100644 --- a/chunker/json_parser.go +++ b/chunker/json_parser.go @@ -30,7 +30,7 @@ import ( "github.com/twpayne/go-geom" "github.com/twpayne/go-geom/encoding/geojson" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/types" "github.com/dgraph-io/dgraph/types/facets" diff --git a/chunker/json_parser_test.go b/chunker/json_parser_test.go index 88b1d1d1fb9..d02439246a5 100644 --- a/chunker/json_parser_test.go +++ b/chunker/json_parser_test.go @@ -31,7 +31,7 @@ import ( "github.com/golang/glog" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/tok" "github.com/dgraph-io/dgraph/types" diff --git a/chunker/rdf_parser.go b/chunker/rdf_parser.go index aeda2f95ffd..52366f380e4 100644 --- a/chunker/rdf_parser.go +++ b/chunker/rdf_parser.go @@ -24,7 +24,7 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/lex" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/types" diff --git a/chunker/rdf_parser_test.go b/chunker/rdf_parser_test.go index 45955b88b66..491aa90f100 100644 --- a/chunker/rdf_parser_test.go +++ b/chunker/rdf_parser_test.go @@ -21,7 +21,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/lex" "github.com/dgraph-io/dgraph/types/facets" "github.com/dgraph-io/dgraph/x" diff --git a/conn/node.go b/conn/node.go index 852f6569eaa..50d600db327 100644 --- a/conn/node.go +++ b/conn/node.go @@ -35,7 +35,7 @@ import ( otrace "go.opencensus.io/trace" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/raftwal" "github.com/dgraph-io/dgraph/x" diff --git a/conn/pool.go b/conn/pool.go index 5ff19bffa30..e317c8adc6b 100644 --- a/conn/pool.go +++ b/conn/pool.go @@ -30,7 +30,7 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/x" "github.com/dgraph-io/ristretto/z" diff --git a/conn/raft_server.go b/conn/raft_server.go index 5177b6ff768..e9c4d7804c4 100644 --- a/conn/raft_server.go +++ b/conn/raft_server.go @@ -30,7 +30,7 @@ import ( "go.etcd.io/etcd/raft/raftpb" otrace "go.opencensus.io/trace" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/x" ) diff --git a/contrib/integration/acctupsert/main.go b/contrib/integration/acctupsert/main.go index dbfcf42dc99..2a257573662 100644 --- a/contrib/integration/acctupsert/main.go +++ b/contrib/integration/acctupsert/main.go @@ -29,8 +29,8 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/contrib/integration/bank/main.go b/contrib/integration/bank/main.go index 00ea11b5948..4a180590048 100644 --- a/contrib/integration/bank/main.go +++ b/contrib/integration/bank/main.go @@ -39,8 +39,8 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/x" ) diff --git a/contrib/integration/bigdata/main.go b/contrib/integration/bigdata/main.go index 87ee1a33164..721a49b57b3 100644 --- a/contrib/integration/bigdata/main.go +++ b/contrib/integration/bigdata/main.go @@ -31,8 +31,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/x" ) diff --git a/contrib/integration/mutates/main.go b/contrib/integration/mutates/main.go index c09545fbd31..abbf2ca351a 100644 --- a/contrib/integration/mutates/main.go +++ b/contrib/integration/mutates/main.go @@ -26,8 +26,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/x" ) diff --git a/contrib/integration/swap/main.go b/contrib/integration/swap/main.go index 2c99ece28b1..28db51a5815 100644 --- a/contrib/integration/swap/main.go +++ b/contrib/integration/swap/main.go @@ -30,8 +30,8 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/contrib/integration/testtxn/main_test.go b/contrib/integration/testtxn/main_test.go index e0db136a084..3e88c76f48e 100644 --- a/contrib/integration/testtxn/main_test.go +++ b/contrib/integration/testtxn/main_test.go @@ -33,8 +33,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/dgraph/cmd/alpha/http.go b/dgraph/cmd/alpha/http.go index 8a8bd65ca03..923a4d6f3f3 100644 --- a/dgraph/cmd/alpha/http.go +++ b/dgraph/cmd/alpha/http.go @@ -36,7 +36,7 @@ import ( "github.com/pkg/errors" "google.golang.org/grpc/metadata" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/edgraph" "github.com/dgraph-io/dgraph/graphql/admin" diff --git a/dgraph/cmd/alpha/login_ee.go b/dgraph/cmd/alpha/login_ee.go index fc5b9867472..09130892f7d 100644 --- a/dgraph/cmd/alpha/login_ee.go +++ b/dgraph/cmd/alpha/login_ee.go @@ -20,7 +20,7 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/edgraph" "github.com/dgraph-io/dgraph/x" ) diff --git a/dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go b/dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go index 8f8b7b9b7cd..b665148d1b1 100644 --- a/dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go +++ b/dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go @@ -27,8 +27,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/dgraph/cmd/alpha/run.go b/dgraph/cmd/alpha/run.go index 9136fe30832..d52313935bd 100644 --- a/dgraph/cmd/alpha/run.go +++ b/dgraph/cmd/alpha/run.go @@ -49,7 +49,7 @@ import ( hapi "google.golang.org/grpc/health/grpc_health_v1" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/edgraph" "github.com/dgraph-io/dgraph/ee" "github.com/dgraph-io/dgraph/ee/audit" diff --git a/dgraph/cmd/alpha/run_test.go b/dgraph/cmd/alpha/run_test.go index 2dd098d7dfe..c1fc0a3a016 100644 --- a/dgraph/cmd/alpha/run_test.go +++ b/dgraph/cmd/alpha/run_test.go @@ -44,8 +44,8 @@ import ( "google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/encoding/gzip" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/query" diff --git a/dgraph/cmd/alpha/upsert_test.go b/dgraph/cmd/alpha/upsert_test.go index 1f081d670ef..bac99ba9cd7 100644 --- a/dgraph/cmd/alpha/upsert_test.go +++ b/dgraph/cmd/alpha/upsert_test.go @@ -28,8 +28,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/dgraph/cmd/bulk/mapper.go b/dgraph/cmd/bulk/mapper.go index c1fdbf3194d..ada9fb467ac 100644 --- a/dgraph/cmd/bulk/mapper.go +++ b/dgraph/cmd/bulk/mapper.go @@ -33,7 +33,7 @@ import ( "github.com/golang/glog" "github.com/golang/snappy" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/chunker" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/ee/acl" diff --git a/dgraph/cmd/increment/increment.go b/dgraph/cmd/increment/increment.go index 793bd5c9ba5..b2160fd8ec5 100644 --- a/dgraph/cmd/increment/increment.go +++ b/dgraph/cmd/increment/increment.go @@ -31,8 +31,8 @@ import ( "github.com/spf13/viper" "go.opencensus.io/trace" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/x" "github.com/dgraph-io/ristretto/z" ) @@ -190,7 +190,7 @@ func run(conf *viper.Viper) { var dg *dgo.Dgraph sf := z.NewSuperFlag(conf.GetString("cloud")) if addr := sf.GetString("addr"); len(addr) > 0 { - conn, err := dgo.DialSlashEndpoint(addr, sf.GetString("jwt")) + conn, err := dgo.DialCloud(addr, sf.GetString("jwt")) x.Check(err) dc := api.NewDgraphClient(conn) dg = dgo.NewDgraphClient(dc) diff --git a/dgraph/cmd/increment/increment_test.go b/dgraph/cmd/increment/increment_test.go index af0d13c39cf..45b91c8e0cf 100644 --- a/dgraph/cmd/increment/increment_test.go +++ b/dgraph/cmd/increment/increment_test.go @@ -32,8 +32,8 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/metadata" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/dgraph/cmd/live/batch.go b/dgraph/cmd/live/batch.go index 542ca925f50..5c6c0461609 100644 --- a/dgraph/cmd/live/batch.go +++ b/dgraph/cmd/live/batch.go @@ -34,8 +34,8 @@ import ( "google.golang.org/grpc/status" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/tok" diff --git a/dgraph/cmd/live/load-json/load_test.go b/dgraph/cmd/live/load-json/load_test.go index 4749a7c22a5..314f18e0c32 100644 --- a/dgraph/cmd/live/load-json/load_test.go +++ b/dgraph/cmd/live/load-json/load_test.go @@ -28,7 +28,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" + "github.com/dgraph-io/dgo/v230" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/dgraph/cmd/live/load-uids/load_test.go b/dgraph/cmd/live/load-uids/load_test.go index 130ebaa6955..8ce2531a48d 100644 --- a/dgraph/cmd/live/load-uids/load_test.go +++ b/dgraph/cmd/live/load-uids/load_test.go @@ -33,8 +33,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/ee" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" diff --git a/dgraph/cmd/live/run.go b/dgraph/cmd/live/run.go index cf299f86c9a..150a5ddee16 100644 --- a/dgraph/cmd/live/run.go +++ b/dgraph/cmd/live/run.go @@ -44,8 +44,8 @@ import ( "github.com/dgraph-io/badger/v4" bopt "github.com/dgraph-io/badger/v4/options" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/chunker" "github.com/dgraph-io/dgraph/ee" "github.com/dgraph-io/dgraph/ee/enc" diff --git a/dgraph/cmd/zero/oracle.go b/dgraph/cmd/zero/oracle.go index 17cd2a6fa34..01c82d3ec4f 100644 --- a/dgraph/cmd/zero/oracle.go +++ b/dgraph/cmd/zero/oracle.go @@ -28,7 +28,7 @@ import ( otrace "go.opencensus.io/trace" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/x" "github.com/dgraph-io/ristretto/z" diff --git a/dgraph/cmd/zero/zero.go b/dgraph/cmd/zero/zero.go index eb975e10532..10791b63082 100644 --- a/dgraph/cmd/zero/zero.go +++ b/dgraph/cmd/zero/zero.go @@ -30,7 +30,7 @@ import ( "github.com/pkg/errors" otrace "go.opencensus.io/trace" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/conn" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/telemetry" diff --git a/dgraphtest/cluster.go b/dgraphtest/cluster.go index ae098d4409e..fc1a6fbe36b 100644 --- a/dgraphtest/cluster.go +++ b/dgraphtest/cluster.go @@ -30,8 +30,8 @@ import ( "github.com/go-git/go-git/v5/plumbing" "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/x" ) diff --git a/dgraphtest/compose_cluster.go b/dgraphtest/compose_cluster.go index 354412d9d5d..276321392dc 100644 --- a/dgraphtest/compose_cluster.go +++ b/dgraphtest/compose_cluster.go @@ -17,7 +17,7 @@ package dgraphtest import ( - "github.com/dgraph-io/dgo/v210" + "github.com/dgraph-io/dgo/v230" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/dgraphtest/dcloud_cluster.go b/dgraphtest/dcloud_cluster.go index d73cddeb1e7..98bafc1825b 100644 --- a/dgraphtest/dcloud_cluster.go +++ b/dgraphtest/dcloud_cluster.go @@ -27,8 +27,8 @@ import ( "github.com/pkg/errors" "google.golang.org/grpc" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" ) type DCloudCluster struct { diff --git a/dgraphtest/local_cluster.go b/dgraphtest/local_cluster.go index e83e11cf371..e8d407c0ccf 100644 --- a/dgraphtest/local_cluster.go +++ b/dgraphtest/local_cluster.go @@ -36,8 +36,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" ) // cluster's network struct diff --git a/dql/mutation.go b/dql/mutation.go index da37f327ef7..c585ce42b51 100644 --- a/dql/mutation.go +++ b/dql/mutation.go @@ -21,7 +21,7 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/types" "github.com/dgraph-io/dgraph/x" diff --git a/dql/parser_mutation.go b/dql/parser_mutation.go index f57555be399..2955fc8d870 100644 --- a/dql/parser_mutation.go +++ b/dql/parser_mutation.go @@ -17,7 +17,7 @@ package dql import ( - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/lex" ) diff --git a/dql/parser_test.go b/dql/parser_test.go index 7a0c110848c..22796a26adf 100644 --- a/dql/parser_test.go +++ b/dql/parser_test.go @@ -25,7 +25,7 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/chunker" "github.com/dgraph-io/dgraph/lex" ) diff --git a/edgraph/access.go b/edgraph/access.go index 963ff9901f0..99d1fe486cd 100644 --- a/edgraph/access.go +++ b/edgraph/access.go @@ -24,7 +24,7 @@ import ( "github.com/golang/glog" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/query" "github.com/dgraph-io/dgraph/x" diff --git a/edgraph/access_ee.go b/edgraph/access_ee.go index b4ea1767c9e..0cf309029f3 100644 --- a/edgraph/access_ee.go +++ b/edgraph/access_ee.go @@ -29,7 +29,7 @@ import ( "google.golang.org/grpc/status" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/ee/acl" "github.com/dgraph-io/dgraph/protos/pb" diff --git a/edgraph/graphql.go b/edgraph/graphql.go index 737d8c14b9a..d39d35055e8 100644 --- a/edgraph/graphql.go +++ b/edgraph/graphql.go @@ -26,7 +26,7 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/graphql/schema" "github.com/dgraph-io/dgraph/x" ) diff --git a/edgraph/multi_tenancy_ee.go b/edgraph/multi_tenancy_ee.go index e6ea93a5ac8..3bda6d1161e 100644 --- a/edgraph/multi_tenancy_ee.go +++ b/edgraph/multi_tenancy_ee.go @@ -22,7 +22,7 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/query" "github.com/dgraph-io/dgraph/schema" diff --git a/edgraph/server.go b/edgraph/server.go index 5db1feec8af..16d9462bb02 100644 --- a/edgraph/server.go +++ b/edgraph/server.go @@ -43,8 +43,8 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/chunker" "github.com/dgraph-io/dgraph/conn" "github.com/dgraph-io/dgraph/dql" diff --git a/edgraph/server_test.go b/edgraph/server_test.go index f898537c672..797c1cf93ba 100644 --- a/edgraph/server_test.go +++ b/edgraph/server_test.go @@ -24,7 +24,7 @@ import ( "google.golang.org/grpc/metadata" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/chunker" "github.com/dgraph-io/dgraph/schema" "github.com/dgraph-io/dgraph/x" diff --git a/ee/acl/acl.go b/ee/acl/acl.go index 9beceb2e651..77384ba125c 100644 --- a/ee/acl/acl.go +++ b/ee/acl/acl.go @@ -24,8 +24,8 @@ import ( "github.com/pkg/errors" "github.com/spf13/viper" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/x" ) diff --git a/ee/acl/acl_test.go b/ee/acl/acl_test.go index 7ac9ad8b806..503b4fe46ee 100644 --- a/ee/acl/acl_test.go +++ b/ee/acl/acl_test.go @@ -26,8 +26,8 @@ import ( "github.com/golang/glog" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/ee/acl/utils.go b/ee/acl/utils.go index 70ccc546677..53a8f2db8f3 100644 --- a/ee/acl/utils.go +++ b/ee/acl/utils.go @@ -20,8 +20,8 @@ import ( "github.com/pkg/errors" "github.com/spf13/viper" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/x" "github.com/dgraph-io/ristretto/z" ) diff --git a/go.mod b/go.mod index ac29494d9c0..a42ba100e5b 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/Shopify/sarama v1.27.2 github.com/blevesearch/bleve v1.0.13 github.com/dgraph-io/badger/v4 v4.1.0 - github.com/dgraph-io/dgo/v210 v210.0.0-20220113041351-ba0e5dfc4c3e + github.com/dgraph-io/dgo/v230 v230.0.1-rc1 github.com/dgraph-io/gqlgen v0.13.2 github.com/dgraph-io/gqlparser/v2 v2.2.1 github.com/dgraph-io/graphql-transport-ws v0.0.0-20210511143556-2cef522f1f15 diff --git a/go.sum b/go.sum index 4b37705cd70..1339879a251 100644 --- a/go.sum +++ b/go.sum @@ -158,8 +158,8 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/dgraph-io/badger v1.6.0/go.mod h1:zwt7syl517jmP8s94KqSxTlM6IMsdhYy6psNgSztDR4= github.com/dgraph-io/badger/v4 v4.1.0 h1:E38jc0f+RATYrycSUf9LMv/t47XAy+3CApyYSq4APOQ= github.com/dgraph-io/badger/v4 v4.1.0/go.mod h1:P50u28d39ibBRmIJuQC/NSdBOg46HnHw7al2SW5QRHg= -github.com/dgraph-io/dgo/v210 v210.0.0-20220113041351-ba0e5dfc4c3e h1:+RV+hvGYPEqTABBflJss35nBDU9GNq4aKVR85dKqSz0= -github.com/dgraph-io/dgo/v210 v210.0.0-20220113041351-ba0e5dfc4c3e/go.mod h1:dCzdThGGTPYOAuNtrM6BiXj/86voHn7ZzkPL6noXR3s= +github.com/dgraph-io/dgo/v230 v230.0.1-rc1 h1:ppvzfijQQ9o4xQDoODLVTLQrOX1eC/aTSkZ1A71BcxM= +github.com/dgraph-io/dgo/v230 v230.0.1-rc1/go.mod h1:5FerO2h4LPOxR2XTkOAtqUUPaFdQ+5aBOHXPBJ3nT10= github.com/dgraph-io/gqlgen v0.13.2 h1:TNhndk+eHKj5qE7BenKKSYdSIdOGhLqxR1rCiMso9KM= github.com/dgraph-io/gqlgen v0.13.2/go.mod h1:iCOrOv9lngN7KAo+jMgvUPVDlYHdf7qDwsTkQby2Sis= github.com/dgraph-io/gqlparser/v2 v2.1.1/go.mod h1:MYS4jppjyx8b9tuUtjV7jU1UFZK6P9fvO8TsIsQtRKU= diff --git a/graphql/admin/login.go b/graphql/admin/login.go index 8c6efbafc23..63b312fe997 100644 --- a/graphql/admin/login.go +++ b/graphql/admin/login.go @@ -22,7 +22,7 @@ import ( "github.com/golang/glog" - dgoapi "github.com/dgraph-io/dgo/v210/protos/api" + dgoapi "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/edgraph" "github.com/dgraph-io/dgraph/graphql/resolve" "github.com/dgraph-io/dgraph/graphql/schema" diff --git a/graphql/admin/update_group.go b/graphql/admin/update_group.go index 3132e60af07..b58bcb4567d 100644 --- a/graphql/admin/update_group.go +++ b/graphql/admin/update_group.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - dgoapi "github.com/dgraph-io/dgo/v210/protos/api" + dgoapi "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/graphql/resolve" "github.com/dgraph-io/dgraph/graphql/schema" diff --git a/graphql/dgraph/execute.go b/graphql/dgraph/execute.go index 20ba7e491de..561647da6fd 100644 --- a/graphql/dgraph/execute.go +++ b/graphql/dgraph/execute.go @@ -23,7 +23,7 @@ import ( "github.com/golang/glog" "go.opencensus.io/trace" - dgoapi "github.com/dgraph-io/dgo/v210/protos/api" + dgoapi "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/edgraph" "github.com/dgraph-io/dgraph/graphql/schema" "github.com/dgraph-io/dgraph/x" diff --git a/graphql/e2e/common/admin.go b/graphql/e2e/common/admin.go index 7dd28866a29..2113b7bba5e 100644 --- a/graphql/e2e/common/admin.go +++ b/graphql/e2e/common/admin.go @@ -34,8 +34,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" diff --git a/graphql/e2e/common/common.go b/graphql/e2e/common/common.go index dee450e8e7c..7c50cb58ef6 100644 --- a/graphql/e2e/common/common.go +++ b/graphql/e2e/common/common.go @@ -36,8 +36,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/graphql/schema" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" diff --git a/graphql/e2e/common/error.go b/graphql/e2e/common/error.go index 2f4eca431a3..6fd5928cbc8 100644 --- a/graphql/e2e/common/error.go +++ b/graphql/e2e/common/error.go @@ -34,8 +34,8 @@ import ( "google.golang.org/grpc/peer" "gopkg.in/yaml.v2" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" admin2 "github.com/dgraph-io/dgraph/graphql/admin" "github.com/dgraph-io/dgraph/graphql/resolve" "github.com/dgraph-io/dgraph/graphql/schema" diff --git a/graphql/e2e/common/mutation.go b/graphql/e2e/common/mutation.go index 1c968099428..a0df3104846 100644 --- a/graphql/e2e/common/mutation.go +++ b/graphql/e2e/common/mutation.go @@ -35,8 +35,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/graphql/e2e/common/query.go b/graphql/e2e/common/query.go index ad1e10fd0b0..f6def8f3ec6 100644 --- a/graphql/e2e/common/query.go +++ b/graphql/e2e/common/query.go @@ -37,8 +37,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/graphql/schema" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" diff --git a/graphql/e2e/common/schema.go b/graphql/e2e/common/schema.go index 262148c8c14..83f42a656c8 100644 --- a/graphql/e2e/common/schema.go +++ b/graphql/e2e/common/schema.go @@ -24,8 +24,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/graphql/e2e/schema/schema_test.go b/graphql/e2e/schema/schema_test.go index 30bb8a23b1a..0b37f440264 100644 --- a/graphql/e2e/schema/schema_test.go +++ b/graphql/e2e/schema/schema_test.go @@ -34,7 +34,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/graphql/e2e/common" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/worker" diff --git a/graphql/resolve/auth_test.go b/graphql/resolve/auth_test.go index 51c80eabb72..33222485f35 100644 --- a/graphql/resolve/auth_test.go +++ b/graphql/resolve/auth_test.go @@ -30,7 +30,7 @@ import ( "google.golang.org/grpc/metadata" "gopkg.in/yaml.v2" - dgoapi "github.com/dgraph-io/dgo/v210/protos/api" + dgoapi "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/graphql/authorization" "github.com/dgraph-io/dgraph/graphql/dgraph" diff --git a/graphql/resolve/mutation.go b/graphql/resolve/mutation.go index dd85e2c6bbc..7e15008322a 100644 --- a/graphql/resolve/mutation.go +++ b/graphql/resolve/mutation.go @@ -28,7 +28,7 @@ import ( "github.com/pkg/errors" otrace "go.opencensus.io/trace" - dgoapi "github.com/dgraph-io/dgo/v210/protos/api" + dgoapi "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/graphql/dgraph" "github.com/dgraph-io/dgraph/graphql/schema" diff --git a/graphql/resolve/mutation_rewriter.go b/graphql/resolve/mutation_rewriter.go index 3f64d8c472a..4439e9a5727 100644 --- a/graphql/resolve/mutation_rewriter.go +++ b/graphql/resolve/mutation_rewriter.go @@ -27,7 +27,7 @@ import ( "github.com/pkg/errors" - dgoapi "github.com/dgraph-io/dgo/v210/protos/api" + dgoapi "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/graphql/schema" "github.com/dgraph-io/dgraph/x" diff --git a/graphql/resolve/mutation_test.go b/graphql/resolve/mutation_test.go index 2e35955588b..72faab552dd 100644 --- a/graphql/resolve/mutation_test.go +++ b/graphql/resolve/mutation_test.go @@ -27,7 +27,7 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" - dgoapi "github.com/dgraph-io/dgo/v210/protos/api" + dgoapi "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/graphql/dgraph" "github.com/dgraph-io/dgraph/graphql/schema" "github.com/dgraph-io/dgraph/graphql/test" diff --git a/graphql/resolve/query.go b/graphql/resolve/query.go index e342de778e3..07ffce52c44 100644 --- a/graphql/resolve/query.go +++ b/graphql/resolve/query.go @@ -25,7 +25,7 @@ import ( "github.com/golang/glog" otrace "go.opencensus.io/trace" - dgoapi "github.com/dgraph-io/dgo/v210/protos/api" + dgoapi "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/graphql/dgraph" "github.com/dgraph-io/dgraph/graphql/schema" diff --git a/graphql/resolve/resolver.go b/graphql/resolve/resolver.go index a7d61669f23..7b0936ec755 100644 --- a/graphql/resolve/resolver.go +++ b/graphql/resolve/resolver.go @@ -29,7 +29,7 @@ import ( "github.com/pkg/errors" otrace "go.opencensus.io/trace" - dgoapi "github.com/dgraph-io/dgo/v210/protos/api" + dgoapi "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/edgraph" "github.com/dgraph-io/dgraph/graphql/api" "github.com/dgraph-io/dgraph/graphql/dgraph" diff --git a/graphql/resolve/resolver_error_test.go b/graphql/resolve/resolver_error_test.go index ba4f4235964..cdd4d2a30ff 100644 --- a/graphql/resolve/resolver_error_test.go +++ b/graphql/resolve/resolver_error_test.go @@ -28,7 +28,7 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v2" - dgoapi "github.com/dgraph-io/dgo/v210/protos/api" + dgoapi "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/graphql/schema" "github.com/dgraph-io/dgraph/graphql/test" "github.com/dgraph-io/dgraph/x" diff --git a/posting/list_test.go b/posting/list_test.go index bf70c75c279..b3a7bba4c74 100644 --- a/posting/list_test.go +++ b/posting/list_test.go @@ -30,7 +30,7 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/codec" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/schema" diff --git a/posting/lists.go b/posting/lists.go index e6c15439168..5c70fc5914b 100644 --- a/posting/lists.go +++ b/posting/lists.go @@ -25,7 +25,7 @@ import ( ostats "go.opencensus.io/stats" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/x" "github.com/dgraph-io/ristretto" diff --git a/posting/mvcc.go b/posting/mvcc.go index 233b9b41b15..d228ad10f0d 100644 --- a/posting/mvcc.go +++ b/posting/mvcc.go @@ -31,7 +31,7 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/x" "github.com/dgraph-io/ristretto/z" diff --git a/posting/size.go b/posting/size.go index 21eb81c616a..fd7cf7ca3d6 100644 --- a/posting/size.go +++ b/posting/size.go @@ -21,7 +21,7 @@ import ( "reflect" "unsafe" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" ) diff --git a/posting/size_test.go b/posting/size_test.go index ca26c028a61..01528446966 100644 --- a/posting/size_test.go +++ b/posting/size_test.go @@ -36,7 +36,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" ) diff --git a/protos/Makefile b/protos/Makefile index 88b53f424f1..3e47ba5c596 100644 --- a/protos/Makefile +++ b/protos/Makefile @@ -17,7 +17,7 @@ # Update BADGER_PB_VERSION when upgrading Badger major versions BADGER_PB_VERSION = 4 -DGO_PATH := github.com/dgraph-io/dgo/v210 +DGO_PATH := github.com/dgraph-io/dgo/v230 BADGER_PATH := github.com/dgraph-io/badger/v${BADGER_PB_VERSION} GOGO_PATH := github.com/gogo/protobuf diff --git a/protos/pb/pb.pb.go b/protos/pb/pb.pb.go index df4dd20048a..2a62016e877 100644 --- a/protos/pb/pb.pb.go +++ b/protos/pb/pb.pb.go @@ -8,7 +8,7 @@ import ( encoding_binary "encoding/binary" fmt "fmt" pb "github.com/dgraph-io/badger/v4/pb" - api "github.com/dgraph-io/dgo/v210/protos/api" + api "github.com/dgraph-io/dgo/v230/protos/api" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" grpc "google.golang.org/grpc" diff --git a/query/common_test.go b/query/common_test.go index 1038b71eda8..7d9345f146c 100644 --- a/query/common_test.go +++ b/query/common_test.go @@ -28,7 +28,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/x" ) diff --git a/query/mutation.go b/query/mutation.go index c1e6b7c6b8f..274870c1e2f 100644 --- a/query/mutation.go +++ b/query/mutation.go @@ -25,7 +25,7 @@ import ( "github.com/pkg/errors" otrace "go.opencensus.io/trace" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/types/facets" diff --git a/query/mutation_test.go b/query/mutation_test.go index df9311b1b54..f76287b968d 100644 --- a/query/mutation_test.go +++ b/query/mutation_test.go @@ -25,7 +25,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" ) func TestReserverPredicateForMutation(t *testing.T) { diff --git a/query/outputnode.go b/query/outputnode.go index 28f841363d9..1f27927c8f2 100644 --- a/query/outputnode.go +++ b/query/outputnode.go @@ -35,7 +35,7 @@ import ( "github.com/twpayne/go-geom" "github.com/twpayne/go-geom/encoding/geojson" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/algo" gqlSchema "github.com/dgraph-io/dgraph/graphql/schema" "github.com/dgraph-io/dgraph/protos/pb" diff --git a/query/query0_test.go b/query/query0_test.go index 62290192c6e..a6477f5c14e 100644 --- a/query/query0_test.go +++ b/query/query0_test.go @@ -27,7 +27,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" + "github.com/dgraph-io/dgo/v230" "github.com/dgraph-io/dgraph/dgraphtest" "github.com/dgraph-io/dgraph/dql" ) diff --git a/query/query1_test.go b/query/query1_test.go index d2b19f7dfe6..a6c54cbdff5 100644 --- a/query/query1_test.go +++ b/query/query1_test.go @@ -32,7 +32,7 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/metadata" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" ) func TestSchemaBlock2(t *testing.T) { diff --git a/query/query4_test.go b/query/query4_test.go index 4d01014e0d0..282fdcae8e9 100644 --- a/query/query4_test.go +++ b/query/query4_test.go @@ -27,7 +27,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/x" ) diff --git a/systest/1million/1million_test.go b/systest/1million/1million_test.go index 43c5e548c14..0015893519e 100644 --- a/systest/1million/1million_test.go +++ b/systest/1million/1million_test.go @@ -28,7 +28,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/systest/acl/restore/acl_restore_test.go b/systest/acl/restore/acl_restore_test.go index aadb8cbda76..d07703c52be 100644 --- a/systest/acl/restore/acl_restore_test.go +++ b/systest/acl/restore/acl_restore_test.go @@ -16,8 +16,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/graphql/e2e/common" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/systest/backup/encryption/backup_test.go b/systest/backup/encryption/backup_test.go index 45d25b04be5..17bd5ddfbc5 100644 --- a/systest/backup/encryption/backup_test.go +++ b/systest/backup/encryption/backup_test.go @@ -34,7 +34,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4/options" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/worker" "github.com/dgraph-io/dgraph/x" diff --git a/systest/backup/filesystem/backup_test.go b/systest/backup/filesystem/backup_test.go index b5721985fd0..97a24e9394f 100644 --- a/systest/backup/filesystem/backup_test.go +++ b/systest/backup/filesystem/backup_test.go @@ -34,8 +34,8 @@ import ( "google.golang.org/grpc/credentials" "github.com/dgraph-io/badger/v4/options" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/systest/backup/common" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/worker" diff --git a/systest/backup/minio-large/backup_test.go b/systest/backup/minio-large/backup_test.go index ced56913746..26438a30c49 100644 --- a/systest/backup/minio-large/backup_test.go +++ b/systest/backup/minio-large/backup_test.go @@ -34,8 +34,8 @@ import ( "google.golang.org/grpc/credentials" "github.com/dgraph-io/badger/v4/options" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/worker" "github.com/dgraph-io/dgraph/x" diff --git a/systest/backup/minio/backup_test.go b/systest/backup/minio/backup_test.go index 2cbe78a7e99..095d8304f25 100644 --- a/systest/backup/minio/backup_test.go +++ b/systest/backup/minio/backup_test.go @@ -35,8 +35,8 @@ import ( "google.golang.org/grpc/credentials" "github.com/dgraph-io/badger/v4/options" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/worker" "github.com/dgraph-io/dgraph/x" diff --git a/systest/backup/multi-tenancy/backup_test.go b/systest/backup/multi-tenancy/backup_test.go index 086d6a25ff1..ff296a1e32c 100644 --- a/systest/backup/multi-tenancy/backup_test.go +++ b/systest/backup/multi-tenancy/backup_test.go @@ -26,8 +26,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/systest/backup/common" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" diff --git a/systest/backup/nfs-backup/backup_test.go b/systest/backup/nfs-backup/backup_test.go index ad0e8376c3f..bf54f9d2133 100644 --- a/systest/backup/nfs-backup/backup_test.go +++ b/systest/backup/nfs-backup/backup_test.go @@ -33,8 +33,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/systest/backup/common" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/worker" diff --git a/systest/bgindex/common_test.go b/systest/bgindex/common_test.go index f2cfe1fa663..1257a2a83fe 100644 --- a/systest/bgindex/common_test.go +++ b/systest/bgindex/common_test.go @@ -25,7 +25,7 @@ import ( "sync/atomic" "time" - "github.com/dgraph-io/dgo/v210" + "github.com/dgraph-io/dgo/v230" ) func printStats(counter *uint64, quit <-chan struct{}, wg *sync.WaitGroup) { diff --git a/systest/bgindex/count_test.go b/systest/bgindex/count_test.go index faee8275775..6f259affe84 100644 --- a/systest/bgindex/count_test.go +++ b/systest/bgindex/count_test.go @@ -36,8 +36,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/systest/bgindex/parallel_test.go b/systest/bgindex/parallel_test.go index 2a166cb762e..d9ec450c80a 100644 --- a/systest/bgindex/parallel_test.go +++ b/systest/bgindex/parallel_test.go @@ -32,8 +32,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/systest/bgindex/reverse_test.go b/systest/bgindex/reverse_test.go index 2d0de55b823..31aec15738a 100644 --- a/systest/bgindex/reverse_test.go +++ b/systest/bgindex/reverse_test.go @@ -34,8 +34,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/systest/bgindex/string_test.go b/systest/bgindex/string_test.go index d66dcd19ec5..c387c6a6bc2 100644 --- a/systest/bgindex/string_test.go +++ b/systest/bgindex/string_test.go @@ -35,8 +35,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/systest/bulk_live/common/bulk_live_cases.go b/systest/bulk_live/common/bulk_live_cases.go index bc524897995..c0e89975b42 100644 --- a/systest/bulk_live/common/bulk_live_cases.go +++ b/systest/bulk_live/common/bulk_live_cases.go @@ -35,7 +35,7 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/systest/bulk_live/common/bulk_live_fixture.go b/systest/bulk_live/common/bulk_live_fixture.go index 8912c0f18eb..8e53d297cea 100644 --- a/systest/bulk_live/common/bulk_live_fixture.go +++ b/systest/bulk_live/common/bulk_live_fixture.go @@ -27,7 +27,7 @@ import ( "github.com/minio/minio-go/v6" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/systest/cloud/cloud_test.go b/systest/cloud/cloud_test.go index 952a34a6f16..c0478584e12 100644 --- a/systest/cloud/cloud_test.go +++ b/systest/cloud/cloud_test.go @@ -27,7 +27,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/graphql/e2e/common" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" diff --git a/systest/export/export_test.go b/systest/export/export_test.go index 837331249eb..662735018da 100644 --- a/systest/export/export_test.go +++ b/systest/export/export_test.go @@ -34,8 +34,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/systest/group-delete/group_delete_test.go b/systest/group-delete/group_delete_test.go index 8c24b61cbc3..9651ae93da0 100644 --- a/systest/group-delete/group_delete_test.go +++ b/systest/group-delete/group_delete_test.go @@ -35,8 +35,8 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/systest/live_pw_test.go b/systest/live_pw_test.go index 4f85b365cb2..b9896317d14 100644 --- a/systest/live_pw_test.go +++ b/systest/live_pw_test.go @@ -25,8 +25,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/systest/loader/loader_test.go b/systest/loader/loader_test.go index a6de780c09a..25bf24c2522 100644 --- a/systest/loader/loader_test.go +++ b/systest/loader/loader_test.go @@ -27,7 +27,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/systest/multi-tenancy/basic_test.go b/systest/multi-tenancy/basic_test.go index d0e9c691dd4..6e8656bdda5 100644 --- a/systest/multi-tenancy/basic_test.go +++ b/systest/multi-tenancy/basic_test.go @@ -29,8 +29,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/ee/acl" "github.com/dgraph-io/dgraph/graphql/e2e/common" "github.com/dgraph-io/dgraph/graphql/schema" diff --git a/systest/mutations_test.go b/systest/mutations_test.go index 59004cf92b0..443ab9337ab 100644 --- a/systest/mutations_test.go +++ b/systest/mutations_test.go @@ -35,8 +35,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/systest/online-restore/online_restore_test.go b/systest/online-restore/online_restore_test.go index 3888f326e3c..11e35c3a885 100644 --- a/systest/online-restore/online_restore_test.go +++ b/systest/online-restore/online_restore_test.go @@ -35,8 +35,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/chunker" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" diff --git a/systest/plugin/plugin_test.go b/systest/plugin/plugin_test.go index 2c47c3a4771..b09cf8692a9 100644 --- a/systest/plugin/plugin_test.go +++ b/systest/plugin/plugin_test.go @@ -25,7 +25,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/systest/posting-list-benchmark/main.go b/systest/posting-list-benchmark/main.go index fa2277ea512..764c0ba676a 100644 --- a/systest/posting-list-benchmark/main.go +++ b/systest/posting-list-benchmark/main.go @@ -26,8 +26,8 @@ import ( "github.com/spf13/cobra" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/systest/queries_test.go b/systest/queries_test.go index 55086bbba2a..a49797bd4f8 100644 --- a/systest/queries_test.go +++ b/systest/queries_test.go @@ -30,8 +30,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/testutil/backup.go b/testutil/backup.go index e9bcc0c9362..ac8bed1a752 100644 --- a/testutil/backup.go +++ b/testutil/backup.go @@ -31,7 +31,7 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v210" + "github.com/dgraph-io/dgo/v230" "github.com/dgraph-io/dgraph/ee" "github.com/dgraph-io/dgraph/posting" "github.com/dgraph-io/dgraph/protos/pb" diff --git a/testutil/client.go b/testutil/client.go index 5faf10def09..8dba92252ca 100644 --- a/testutil/client.go +++ b/testutil/client.go @@ -40,8 +40,8 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/x" ) diff --git a/testutil/multi_tenancy.go b/testutil/multi_tenancy.go index ed3e72be96e..fa10a5c2c72 100644 --- a/testutil/multi_tenancy.go +++ b/testutil/multi_tenancy.go @@ -28,8 +28,8 @@ import ( "github.com/pkg/errors" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/x" ) diff --git a/testutil/schema.go b/testutil/schema.go index f31203aecdd..02ef3c5ae8b 100644 --- a/testutil/schema.go +++ b/testutil/schema.go @@ -27,7 +27,7 @@ import ( "github.com/golang/glog" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" + "github.com/dgraph-io/dgo/v230" ) const ( diff --git a/testutil/utils.go b/testutil/utils.go index c7f3067f096..930d47d1a6b 100644 --- a/testutil/utils.go +++ b/testutil/utils.go @@ -28,7 +28,7 @@ import ( "github.com/golang/glog" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" + "github.com/dgraph-io/dgo/v230" "github.com/dgraph-io/dgraph/x" ) diff --git a/testutil/zero.go b/testutil/zero.go index b9f5683dd87..029b9163030 100644 --- a/testutil/zero.go +++ b/testutil/zero.go @@ -29,8 +29,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" ) type Member struct { diff --git a/tlstest/certrequest/certrequest_test.go b/tlstest/certrequest/certrequest_test.go index 398fe24a286..09ac1740184 100644 --- a/tlstest/certrequest/certrequest_test.go +++ b/tlstest/certrequest/certrequest_test.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/tlstest/certrequireandverify/certrequireandverify_test.go b/tlstest/certrequireandverify/certrequireandverify_test.go index 31b96e716df..e1d7ff8f24b 100644 --- a/tlstest/certrequireandverify/certrequireandverify_test.go +++ b/tlstest/certrequireandverify/certrequireandverify_test.go @@ -17,7 +17,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/tlstest/certverifyifgiven/certverifyifgiven_test.go b/tlstest/certverifyifgiven/certverifyifgiven_test.go index 21ad6f32fdb..f8c4f04bc03 100644 --- a/tlstest/certverifyifgiven/certverifyifgiven_test.go +++ b/tlstest/certverifyifgiven/certverifyifgiven_test.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/tlstest/mtls_internal/ha_6_node/ha_test.go b/tlstest/mtls_internal/ha_6_node/ha_test.go index e69ad3af499..00c473b5c0e 100644 --- a/tlstest/mtls_internal/ha_6_node/ha_test.go +++ b/tlstest/mtls_internal/ha_6_node/ha_test.go @@ -11,8 +11,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/tlstest/mtls_internal/multi_group/multi_group_test.go b/tlstest/mtls_internal/multi_group/multi_group_test.go index 114e067a745..32f4927cc36 100644 --- a/tlstest/mtls_internal/multi_group/multi_group_test.go +++ b/tlstest/mtls_internal/multi_group/multi_group_test.go @@ -11,8 +11,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/tlstest/mtls_internal/single_node/single_node_test.go b/tlstest/mtls_internal/single_node/single_node_test.go index 5a59e4c6155..494e67340ab 100644 --- a/tlstest/mtls_internal/single_node/single_node_test.go +++ b/tlstest/mtls_internal/single_node/single_node_test.go @@ -11,8 +11,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" "github.com/dgraph-io/dgraph/x" ) diff --git a/types/conversion.go b/types/conversion.go index aeb3297503c..7fa038280b3 100644 --- a/types/conversion.go +++ b/types/conversion.go @@ -30,7 +30,7 @@ import ( "github.com/twpayne/go-geom/encoding/geojson" "github.com/twpayne/go-geom/encoding/wkb" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" ) // Convert converts the value to given scalar type. diff --git a/types/facets/facet_types.go b/types/facets/facet_types.go index 1392ffc2672..d3375b62d21 100644 --- a/types/facets/facet_types.go +++ b/types/facets/facet_types.go @@ -17,7 +17,7 @@ package facets import ( - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" ) const ( diff --git a/types/facets/utils.go b/types/facets/utils.go index 5747912aac9..9ec6a6ab4af 100644 --- a/types/facets/utils.go +++ b/types/facets/utils.go @@ -24,7 +24,7 @@ import ( "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/tok" "github.com/dgraph-io/dgraph/types" diff --git a/upgrade/change_v20.03.0.go b/upgrade/change_v20.03.0.go index 84e0e3b65ef..2c5133015d8 100644 --- a/upgrade/change_v20.03.0.go +++ b/upgrade/change_v20.03.0.go @@ -20,7 +20,7 @@ import ( "encoding/json" "fmt" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/x" ) diff --git a/upgrade/change_v20.07.0.go b/upgrade/change_v20.07.0.go index 90117c24316..a76292d2f2d 100644 --- a/upgrade/change_v20.07.0.go +++ b/upgrade/change_v20.07.0.go @@ -19,8 +19,8 @@ package upgrade import ( "fmt" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/x" ) diff --git a/upgrade/change_v21.03.0.go b/upgrade/change_v21.03.0.go index b9ebb32ef27..61c4af8c22c 100644 --- a/upgrade/change_v21.03.0.go +++ b/upgrade/change_v21.03.0.go @@ -26,8 +26,8 @@ import ( "github.com/pkg/errors" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/graphql/schema" "github.com/dgraph-io/dgraph/posting" "github.com/dgraph-io/dgraph/protos/pb" diff --git a/upgrade/utils.go b/upgrade/utils.go index 34906d1ecf9..2c5a850041b 100644 --- a/upgrade/utils.go +++ b/upgrade/utils.go @@ -29,8 +29,8 @@ import ( "github.com/golang/glog" "github.com/pkg/errors" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/graphql/schema" "github.com/dgraph-io/dgraph/x" ) diff --git a/upgrade/utils_test.go b/upgrade/utils_test.go index fcc5efce6d6..671ad3136d8 100644 --- a/upgrade/utils_test.go +++ b/upgrade/utils_test.go @@ -21,7 +21,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" ) func TestGetTypeSchemaString(t *testing.T) { diff --git a/worker/export.go b/worker/export.go index 1262001cf3d..21cc7a3bc4c 100644 --- a/worker/export.go +++ b/worker/export.go @@ -37,7 +37,7 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/ee/enc" "github.com/dgraph-io/dgraph/posting" "github.com/dgraph-io/dgraph/protos/pb" diff --git a/worker/export_test.go b/worker/export_test.go index 9c8ba15899e..bb0d8ca701d 100644 --- a/worker/export_test.go +++ b/worker/export_test.go @@ -37,7 +37,7 @@ import ( "github.com/golang/protobuf/proto" "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/chunker" "github.com/dgraph-io/dgraph/dql" "github.com/dgraph-io/dgraph/lex" diff --git a/worker/groups.go b/worker/groups.go index 0c98788b98b..a9ed9f7b714 100644 --- a/worker/groups.go +++ b/worker/groups.go @@ -30,7 +30,7 @@ import ( "github.com/pkg/errors" badgerpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/conn" "github.com/dgraph-io/dgraph/ee/enc" "github.com/dgraph-io/dgraph/protos/pb" diff --git a/worker/mutation.go b/worker/mutation.go index 745062c4b51..cb6568cb586 100644 --- a/worker/mutation.go +++ b/worker/mutation.go @@ -32,8 +32,8 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/badger/v4/y" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/conn" "github.com/dgraph-io/dgraph/posting" "github.com/dgraph-io/dgraph/protos/pb" diff --git a/worker/predicate_move.go b/worker/predicate_move.go index 256e59bae68..f5ad429009b 100644 --- a/worker/predicate_move.go +++ b/worker/predicate_move.go @@ -30,7 +30,7 @@ import ( "github.com/dgraph-io/badger/v4" bpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/posting" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/schema" diff --git a/worker/snapshot_test.go b/worker/snapshot_test.go index e0fac8fe4cd..dc29f47b144 100644 --- a/worker/snapshot_test.go +++ b/worker/snapshot_test.go @@ -31,8 +31,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/testutil" ) diff --git a/worker/task.go b/worker/task.go index d14ede7a070..8c73c58b606 100644 --- a/worker/task.go +++ b/worker/task.go @@ -33,7 +33,7 @@ import ( "golang.org/x/sync/errgroup" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/algo" "github.com/dgraph-io/dgraph/conn" "github.com/dgraph-io/dgraph/posting" diff --git a/worker/worker_test.go b/worker/worker_test.go index 182f1046615..6fb6a1c55e2 100644 --- a/worker/worker_test.go +++ b/worker/worker_test.go @@ -30,8 +30,8 @@ import ( "github.com/stretchr/testify/require" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/dgraph/posting" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/schema" diff --git a/x/x.go b/x/x.go index bd2b0d8cc2f..f06e8fe48fb 100644 --- a/x/x.go +++ b/x/x.go @@ -60,8 +60,8 @@ import ( "github.com/dgraph-io/badger/v4" bo "github.com/dgraph-io/badger/v4/options" badgerpb "github.com/dgraph-io/badger/v4/pb" - "github.com/dgraph-io/dgo/v210" - "github.com/dgraph-io/dgo/v210/protos/api" + "github.com/dgraph-io/dgo/v230" + "github.com/dgraph-io/dgo/v230/protos/api" "github.com/dgraph-io/ristretto/z" ) diff --git a/xidmap/xidmap.go b/xidmap/xidmap.go index 0e23c3bd506..81e77fa511b 100644 --- a/xidmap/xidmap.go +++ b/xidmap/xidmap.go @@ -33,7 +33,7 @@ import ( "google.golang.org/grpc/metadata" "github.com/dgraph-io/badger/v4" - "github.com/dgraph-io/dgo/v210" + "github.com/dgraph-io/dgo/v230" "github.com/dgraph-io/dgraph/protos/pb" "github.com/dgraph-io/dgraph/x" "github.com/dgraph-io/ristretto/z"