protoc-gen-gorm
protoc-gen-gorm copied to clipboard
serializer tag
That would be nice:
message Alert {
map<string, string> other_labels = 14 [(gorm.field).tag = {serializer: "json"}];
int64 createdTime = 15 [(gorm.field).tag = {serializer: "unixtime" type: "time"}];
}
https://gorm.io/docs/serializer.html