6cf6f95f58
CodeQL / Analyze (push) Has been cancelled
Sync to Gitee / Run (push) Has been cancelled
Go / build & test (1.25.x) (push) Has been cancelled
Go / build & test (1.26.x) (push) Has been cancelled
Lint / resolve module (push) Has been cancelled
Lint / lint module (push) Has been cancelled
20 lines
338 B
Protocol Buffer
20 lines
338 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package test;
|
|
|
|
option go_package = "../encoding";
|
|
|
|
import "google/protobuf/struct.proto";
|
|
|
|
message test_model {
|
|
int64 id = 1;
|
|
string name = 2;
|
|
repeated string hobby = 3;
|
|
map<string, string> attrs = 4;
|
|
}
|
|
|
|
message StructPb {
|
|
google.protobuf.Struct data = 1;
|
|
repeated google.protobuf.Struct data_list = 2;
|
|
}
|