Skip to content

Commit

Permalink
proto: fix gogoproto import (#302)
Browse files Browse the repository at this point in the history
It is now relative to GOGOPROTO_PATH
  • Loading branch information
johanbrandhorst authored Jun 4, 2020
1 parent e482ad4 commit 6e2c2ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion grpctesting/gogotestpb/fields.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ syntax = "proto3";
// This file is used for grpctesting discovery of log fields from requests using reflection and gogo proto more tags.
package grpc_middleware.gogotestpb;

import "github.com/gogo/protobuf/gogoproto/gogo.proto";
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";

option (gogoproto.gogoproto_import) = false;
Expand Down
5 changes: 0 additions & 5 deletions scripts/genproto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ if ! [[ "$0" =~ "scripts/genproto.sh" ]]; then
exit 255
fi

if ! [[ $(${PROTOC_BIN} --version) =~ "3.4.0" ]]; then
echo "could not find protoc 3.4.0, is it installed + in PATH?"
exit 255
fi

echo "installing gogofast"
GO111MODULE=on go install "github.com/gogo/protobuf/protoc-gen-gogofast"

Expand Down

0 comments on commit 6e2c2ac

Please sign in to comment.