Decode is an an adapter method calling the Decoder function itself with the given parameters.
(r *Result)
| 150 | // Decode is an an adapter method calling the Decoder function itself with the |
| 151 | // given parameters. |
| 152 | func (dec Decoder) Decode(r *Result) error { return dec(r) } |
| 153 | |
| 154 | // An Encoder encodes a Result and returns an error in case of failure. |
| 155 | type Encoder func(*Result) error |
no outgoing calls