// Saver is an io.Writer which retains the first N bytes
// and the last N bytes written to it. The Bytes() methods reconstructs
// it with a pretty error message.
type Saver struct {
N int // max size of prefix or suffix
// ...
}
type Saver struct {
N int// max size of prefix or suffix// contains filtered or unexported fields
}
Saver is an io.Writer which retains the first N bytes
and the last N bytes written to it. The Bytes() methods reconstructs
it with a pretty error message.