added vendors

This commit is contained in:
mickymiek
2018-12-19 15:29:25 +01:00
committed by Huamin Chen
parent 62d65ad0cb
commit 35561301b2
2952 changed files with 1124359 additions and 1 deletions

View File

@ -0,0 +1,2 @@
*.pb.go
*_test.go

View File

@ -0,0 +1,7 @@
test:
go install github.com/gogo/protobuf/protoc-gen-gogo
go install github.com/gogo/protobuf/protoc-min-version
go get -u golang.org/x/net/context
go get -u google.golang.org/grpc
protoc-min-version --version="3.0.0" --gogo_out=plugins=grpc:. --proto_path=../../../../../:../../protobuf/:. issue427.proto
go test ./...

View File

@ -0,0 +1,11 @@
# The Bug
Inconsistent package name generation between the import:
* import golang_org_x_net_context "golang.org/x/net/context"
* import google_golang_org_grpc "google.golang.org/grpc"
and the dummy vars:
* var _ context.Context
* var _ grpc.ClientConn

View File

@ -0,0 +1,18 @@
syntax = "proto3";
package issue427;
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
option (gogoproto.testgen_all) = true;
option (gogoproto.populate_all) = true;
option (gogoproto.sizer_all) = true;
option (gogoproto.equal_all) = true;
message Foo {
string foo = 1;
}
service Bar {
rpc GetBar (Foo) returns (Foo);
}