ci: Use gofumpt to format code (#5707)

This commit is contained in:
Jacob Gadikian 2023-08-08 03:40:31 +08:00 committed by GitHub
parent 431adc0980
commit b32f265eca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 60 additions and 64 deletions

View file

@ -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
}