diff options
Diffstat (limited to 'replacer.go')
-rw-r--r-- | replacer.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/replacer.go b/replacer.go index 16d50ac2a..817bcfe34 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 } |