mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 12:17:06 +00:00
chore[proto]: update document and proto
This commit is contained in:
1 parent
7fe41cdc75
commit
1139b3f88c
2 files changed
+2
-2
No files matched your search
@@ -8,7 +8,7 @@ import "one_message.proto";
|
|||||||
option java_package = "start";
|
option java_package = "start";
|
||||||
|
|
||||||
|
|
||||||
// 如果protobuf的字段的tag超过1000,则视这个字段为需要兼容的协议字段
|
// 如果字段的tag超过1000,则视这个字段为需要兼容的协议字段
|
||||||
message AllType {
|
message AllType {
|
||||||
bool field1 = 1;
|
bool field1 = 1;
|
||||||
bytes field2 = 2;
|
bytes field2 = 2;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ message SimpleObject {
|
|||||||
int64 aa = 1;
|
int64 aa = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 测试pb协议1
|
// 测试协议1
|
||||||
message Proj {
|
message Proj {
|
||||||
// 这是属性的注释
|
// 这是属性的注释
|
||||||
int64 id = 1;
|
int64 id = 1;
|
||||||
|
|||||||
Reference in new issue
Block a user