Vendor dependencies with dep

This commit is contained in:
James Munnelly
2018-01-07 12:55:55 +00:00
parent d5d145409a
commit 92f73e0b7b
5488 changed files with 2117388 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
syntax = "proto3";
package enumdeclall;
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
option (gogoproto.testgen_all) = true;
option (gogoproto.populate_all) = true;
option (gogoproto.benchgen_all) = true;
option (gogoproto.unmarshaler_all) = true;
option (gogoproto.marshaler_all) = true;
option (gogoproto.sizer_all) = true;
option (gogoproto.equal_all) = true;
option (gogoproto.verbose_equal_all) = true;
option (gogoproto.unsafe_marshaler_all) = false;
option (gogoproto.unsafe_unmarshaler_all) = false;
option (gogoproto.enumdecl_all) = false;
enum MyEnum {
option (gogoproto.goproto_enum_prefix) = false;
A = 0;
B = 1;
}
enum MyOtherEnum {
option (gogoproto.enumdecl) = true;
option (gogoproto.goproto_enum_prefix) = false;
C = 0;
D = 1;
}
message Message {
MyEnum enumerated_field = 1;
MyOtherEnum otherenumerated_field = 2;
}