Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
165 B
13 lines
165 B
4 months ago
|
edition = "2023";
|
||
|
|
||
|
package proto_example;
|
||
|
|
||
|
import "bar/bar.proto";
|
||
|
|
||
|
message Foo {
|
||
|
int32 int = 1;
|
||
|
repeated int32 numbers = 2;
|
||
|
string name = 3;
|
||
|
Bar bar = 4;
|
||
|
}
|