A custom marshaler implementation, that doesn't implement the delimited interface
| 187 | |
| 188 | // A custom marshaler implementation, that doesn't implement the delimited interface |
| 189 | type CustomMarshaler struct { |
| 190 | m *runtime.JSONPb |
| 191 | } |
| 192 | |
| 193 | func (c *CustomMarshaler) Marshal(v interface{}) ([]byte, error) { return c.m.Marshal(v) } |
| 194 | func (c *CustomMarshaler) Unmarshal(data []byte, v interface{}) error { return c.m.Unmarshal(data, v) } |
nothing calls this directly
no outgoing calls
no test coverage detected