mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 07:43:17 +00:00
ci: Use gofumpt to format code (#5707)
This commit is contained in:
parent
431adc0980
commit
b32f265eca
33 changed files with 60 additions and 64 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue