Просмотр исходного кода

Remove "optional" keyword in proto3 test file.

protoc will soon be rejecting this keyword in proto3 files.
David Symonds 10 лет назад
Родитель
Сommit
95681cb43a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      protoc-gen-go/testdata/proto3.proto

+ 2 - 2
protoc-gen-go/testdata/proto3.proto

@@ -40,9 +40,9 @@ message Request {
     UMAMI = 2;
     GOPHERLICIOUS = 3;
   }
-  string name = 1;  // "optional" may be omitted
+  string name = 1;
   repeated int64 key = 2;
-  optional Flavour taste = 3;
+  Flavour taste = 3;
   Book book = 4;
 }