MessageStringOf returns the message value as a string, which is the message serialized in the protobuf text format.
(m protoreflect.ProtoMessage)
| 173 | // MessageStringOf returns the message value as a string, |
| 174 | // which is the message serialized in the protobuf text format. |
| 175 | func (Export) MessageStringOf(m protoreflect.ProtoMessage) string { |
| 176 | return prototext.MarshalOptions{Multiline: false}.Format(m) |
| 177 | } |
no test coverage detected