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
292 B
13 lines
292 B
2 years ago
|
syntax = "proto2";
|
||
|
|
||
|
package protos_generator.test.someotherpackage;
|
||
|
|
||
|
import "protos_generator/tests/test_model.proto";
|
||
|
|
||
|
// Define extension that is extending proto outside this package with a type
|
||
|
// defined in different file.
|
||
|
|
||
|
extend TestModel {
|
||
|
optional ThemeExtension styling = 13001;
|
||
|
}
|