TextMarshaler is a configurable text format marshaler.
| 24 | |
| 25 | // TextMarshaler is a configurable text format marshaler. |
| 26 | type TextMarshaler struct { |
| 27 | Compact bool // use compact text format (one line) |
| 28 | ExpandAny bool // expand google.protobuf.Any messages of known types |
| 29 | } |
| 30 | |
| 31 | // Marshal writes the proto text format of m to w. |
| 32 | func (tm *TextMarshaler) Marshal(w io.Writer, m Message) error { |
nothing calls this directly
no outgoing calls
no test coverage detected