diff options
author | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-19 01:55:49 +0100 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-19 02:07:57 +0100 |
commit | 66cf3bdc77d43f92333cd48a351d59d7a5abe1f8 (patch) | |
tree | 395f711d96b4528e4da842ff4da8f92a245bfc94 /transform/absurl.go | |
parent | efb564775afd319b953a386cf9e8cc1aca0b585e (diff) |
Rename interface contentRewriter to contentTransformer
Is is a much better name.
Diffstat (limited to 'transform/absurl.go')
-rw-r--r-- | transform/absurl.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/transform/absurl.go b/transform/absurl.go index 1c721071d..0bd579b4c 100644 --- a/transform/absurl.go +++ b/transform/absurl.go @@ -18,7 +18,7 @@ func absURLFromURL(URL string) (trs []link, err error) { } func absURLFromReplacer(ar *absURLReplacer) (trs []link, err error) { - trs = append(trs, func(rw contentRewriter) { + trs = append(trs, func(rw contentTransformer) { ar.replaceInHTML(rw) }) return @@ -34,7 +34,7 @@ func absURLInXMLFromURL(URL string) (trs []link, err error) { } func absURLInXMLFromReplacer(ar *absURLReplacer) (trs []link, err error) { - trs = append(trs, func(rw contentRewriter) { + trs = append(trs, func(rw contentTransformer) { ar.replaceInXML(rw) }) return |