mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
added vendors
This commit is contained in:
2
vendor/github.com/gogo/protobuf/test/issue427/.gitignore
generated
vendored
Normal file
2
vendor/github.com/gogo/protobuf/test/issue427/.gitignore
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*.pb.go
|
||||
*_test.go
|
7
vendor/github.com/gogo/protobuf/test/issue427/Makefile
generated
vendored
Normal file
7
vendor/github.com/gogo/protobuf/test/issue427/Makefile
generated
vendored
Normal 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 ./...
|
11
vendor/github.com/gogo/protobuf/test/issue427/README.md
generated
vendored
Normal file
11
vendor/github.com/gogo/protobuf/test/issue427/README.md
generated
vendored
Normal 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
|
18
vendor/github.com/gogo/protobuf/test/issue427/issue427.proto
generated
vendored
Normal file
18
vendor/github.com/gogo/protobuf/test/issue427/issue427.proto
generated
vendored
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user