diff options
Diffstat (limited to 'transform/chain.go')
-rw-r--r-- | transform/chain.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/transform/chain.go b/transform/chain.go index 6c41c4199..ab26a350e 100644 --- a/transform/chain.go +++ b/transform/chain.go @@ -20,16 +20,15 @@ func NewEmptyTransforms() []link { return make([]link, 0, 20) } -// contentTransformer is an interface that enables rotation -// of pooled buffers in the transformer chain. +// contentTransformer is an interface that enables rotation of pooled buffers +// in the transformer chain. type contentTransformer interface { Content() []byte io.Writer } // Implements contentTransformer -// Content is read from the from-buffer, -// and rewritten to to the to-buffer. +// Content is read from the from-buffer and rewritten to to the to-buffer. type fromToBuffer struct { from *bytes.Buffer to *bytes.Buffer |