A Decoder decodes a Result and returns an error in case of failure.
func(*Result) error
| 97 | |
| 98 | // A Decoder decodes a Result and returns an error in case of failure. |
| 99 | type Decoder func(*Result) error |
| 100 | |
| 101 | // A DecoderFactory constructs a new Decoder from a given io.Reader. |
| 102 | type DecoderFactory func(io.Reader) Decoder |
no outgoing calls
no test coverage detected