...

Text file src/github.com/gogo/protobuf/test/issue322/issue322.proto

Documentation: github.com/gogo/protobuf/test/issue322

     1syntax = "proto2";
     2package test;
     3
     4import "github.com/gogo/protobuf/gogoproto/gogo.proto";
     5
     6option (gogoproto.gostring_all) = true;
     7option (gogoproto.populate_all) = true;
     8option (gogoproto.equal_all) = true;
     9option (gogoproto.testgen_all) = true;
    10option (gogoproto.compare_all) = true;
    11
    12message OneofTest {
    13    oneof union {
    14        int32 i = 1 [default = 4];
    15    }
    16}

View as plain text