summaryrefslogtreecommitdiff
path: root/replacer.go
diff options
context:
space:
mode:
Diffstat (limited to 'replacer.go')
-rw-r--r--replacer.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/replacer.go b/replacer.go
index 16d50ac..817bcfe 100644
--- a/replacer.go
+++ b/replacer.go
@@ -131,7 +131,8 @@ func (r *Replacer) ReplaceFunc(input string, f ReplacementFunc) (string, error)
func (r *Replacer) replace(input, empty string,
treatUnknownAsEmpty, errOnEmpty, errOnUnknown bool,
- f ReplacementFunc) (string, error) {
+ f ReplacementFunc,
+) (string, error) {
if !strings.Contains(input, string(phOpen)) {
return input, nil
}