add google.protobuf.Value test

This commit is contained in:
2023-03-08 23:04:37 +08:00
parent 0c37361ad7
commit cdbc566f3f
4 changed files with 3 additions and 14 deletions
+3
View File
@@ -4,6 +4,7 @@ package User;
option go_package = "tldemo/services/User";
import "common.proto";
import "google/protobuf/struct.proto";
message RegisterRequest {
string name = 1;
@@ -24,6 +25,8 @@ message RegisterRequest {
map<string, Address> ext_address = 14;
map<string, int64> ext_int = 15;
google.protobuf.Value google_value = 16;
message Address {
string address = 1;
string postal_code = 2;