Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbep <bjorn.erik.pedersen@gmail.com>2015-03-18 19:33:12 +0300
committerbep <bjorn.erik.pedersen@gmail.com>2015-03-18 19:33:12 +0300
commite7099cfa26d31cc7544e6db37899678ef8bd65ff (patch)
tree3a0152bfbd63c84b23fc578063f9c02b0e9dd0f0 /transform/chain.go
parent98ee69bce207a4c2a7c2ffca2b3e7c0ccdd6e8c9 (diff)
Un-export ContentReWriter
Diffstat (limited to 'transform/chain.go')
-rw-r--r--transform/chain.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/transform/chain.go b/transform/chain.go
index 0edcb6971..a42660245 100644
--- a/transform/chain.go
+++ b/transform/chain.go
@@ -6,7 +6,7 @@ import (
"io"
)
-type trans func(rw ContentReWriter)
+type trans func(rw contentRewriter)
type link trans
@@ -20,14 +20,14 @@ func NewEmptyTransforms() []link {
return make([]link, 0, 20)
}
-// ContentReWriter is an interface that enables rotation
+// contentRewriter is an interface that enables rotation
// of pooled buffers in the transformer chain.
-type ContentReWriter interface {
+type contentRewriter interface {
Content() []byte
io.Writer
}
-// Implements ContentReWriter
+// Implements contentRewriter
// Content is read from the from-buffer,
// and rewritten to to the to-buffer.
type fromToBuffer struct {