commit 1e8e5d4e7a5ca3e1b43e2782c5fee52986042f81
parent 66cf3bdc77d43f92333cd48a351d59d7a5abe1f8
Author: bep <bjorn.erik.pedersen@gmail.com>
Date: Thu, 19 Mar 2015 02:09:42 +0100
Format docs
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git 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