protocols: replace gogo/types.Empty and Any

by Google versions.

Signed-off-by: Beraldo Leal <bleal@redhat.com>
This commit is contained in:
Beraldo Leal
2023-11-01 23:15:32 +00:00
parent c61f4a8592
commit 16fa2c39e6
21 changed files with 10547 additions and 32526 deletions

View File

@@ -4,11 +4,11 @@
# SPDX-License-Identifier: Apache-2.0
#
CACHE_PATH="protocols/cache"
protoc \
-I=$GOPATH/src \
-I=$GOPATH/src/github.com/gogo/protobuf/protobuf \
--proto_path=protocols/cache \
--gogofast_out=\
Mgoogle/protobuf/empty.proto=github.com/gogo/protobuf/types,\
plugins=grpc:protocols/cache \
protocols/cache/cache.proto
-I=$GOPATH/src \
--proto_path=$CACHE_PATH \
--go_out=$CACHE_PATH \
--go-grpc_out=$CACHE_PATH \
$CACHE_PATH/cache.proto