From 082a4958948e4a36875570f6ee931ebfe950e29c Mon Sep 17 00:00:00 2001 From: Jens Fosgerau Date: Sat, 25 Feb 2023 18:10:04 +0100 Subject: [PATCH] docstore/gcpfirestore: update proto import (#3229) --- docstore/gcpfirestore/codec.go | 2 +- docstore/gcpfirestore/fs.go | 2 +- docstore/gcpfirestore/fs_test.go | 2 +- docstore/gcpfirestore/native_codec_test.go | 2 +- docstore/gcpfirestore/query.go | 2 +- docstore/gcpfirestore/query_test.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docstore/gcpfirestore/codec.go b/docstore/gcpfirestore/codec.go index bab8132b39..3f26d6c9dc 100644 --- a/docstore/gcpfirestore/codec.go +++ b/docstore/gcpfirestore/codec.go @@ -23,8 +23,8 @@ import ( "reflect" "time" + pb "cloud.google.com/go/firestore/apiv1/firestorepb" "gocloud.dev/docstore/driver" - pb "google.golang.org/genproto/googleapis/firestore/v1" "google.golang.org/genproto/googleapis/type/latlng" tspb "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/docstore/gcpfirestore/fs.go b/docstore/gcpfirestore/fs.go index 6e3e84c391..c7527d0c92 100644 --- a/docstore/gcpfirestore/fs.go +++ b/docstore/gcpfirestore/fs.go @@ -73,6 +73,7 @@ import ( "strings" vkit "cloud.google.com/go/firestore/apiv1" + pb "cloud.google.com/go/firestore/apiv1/firestorepb" "github.com/google/wire" "gocloud.dev/docstore" "gocloud.dev/docstore/driver" @@ -81,7 +82,6 @@ import ( "gocloud.dev/internal/gcerr" "gocloud.dev/internal/useragent" "google.golang.org/api/option" - pb "google.golang.org/genproto/googleapis/firestore/v1" "google.golang.org/grpc" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" diff --git a/docstore/gcpfirestore/fs_test.go b/docstore/gcpfirestore/fs_test.go index 665c231b6c..3e3bb1a172 100644 --- a/docstore/gcpfirestore/fs_test.go +++ b/docstore/gcpfirestore/fs_test.go @@ -20,12 +20,12 @@ import ( "testing" vkit "cloud.google.com/go/firestore/apiv1" + pb "cloud.google.com/go/firestore/apiv1/firestorepb" "gocloud.dev/docstore" "gocloud.dev/docstore/driver" "gocloud.dev/docstore/drivertest" "gocloud.dev/internal/testing/setup" "google.golang.org/api/option" - pb "google.golang.org/genproto/googleapis/firestore/v1" "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" tspb "google.golang.org/protobuf/types/known/timestamppb" diff --git a/docstore/gcpfirestore/native_codec_test.go b/docstore/gcpfirestore/native_codec_test.go index 19653ffcd7..adb74cea61 100644 --- a/docstore/gcpfirestore/native_codec_test.go +++ b/docstore/gcpfirestore/native_codec_test.go @@ -21,9 +21,9 @@ import ( "testing" "cloud.google.com/go/firestore" + pb "cloud.google.com/go/firestore/apiv1/firestorepb" "github.com/google/go-cmp/cmp" "google.golang.org/api/option" - pb "google.golang.org/genproto/googleapis/firestore/v1" "google.golang.org/grpc" "google.golang.org/grpc/metadata" tspb "google.golang.org/protobuf/types/known/timestamppb" diff --git a/docstore/gcpfirestore/query.go b/docstore/gcpfirestore/query.go index f2f4e2fc32..f4c4eaad00 100644 --- a/docstore/gcpfirestore/query.go +++ b/docstore/gcpfirestore/query.go @@ -26,9 +26,9 @@ import ( "strings" "time" + pb "cloud.google.com/go/firestore/apiv1/firestorepb" "gocloud.dev/docstore/driver" "gocloud.dev/internal/gcerr" - pb "google.golang.org/genproto/googleapis/firestore/v1" "google.golang.org/protobuf/types/known/wrapperspb" ) diff --git a/docstore/gcpfirestore/query_test.go b/docstore/gcpfirestore/query_test.go index d720ab448e..dda944824f 100644 --- a/docstore/gcpfirestore/query_test.go +++ b/docstore/gcpfirestore/query_test.go @@ -19,10 +19,10 @@ import ( "testing" "time" + pb "cloud.google.com/go/firestore/apiv1/firestorepb" "github.com/google/go-cmp/cmp" "gocloud.dev/docstore/driver" "gocloud.dev/docstore/drivertest" - pb "google.golang.org/genproto/googleapis/firestore/v1" "google.golang.org/protobuf/proto" )