forked from forgejo/forgejo
Update golangci-lint to version 1.31.0 (#13102)
This PR updates golangci-lint to the latest version 1.31.0. The upgrade introduced a new check for which I've fixed or disabled most cases. Signed-off-by: kolaente <k@knt.li>
This commit is contained in:
parent
e35f7e81ae
commit
64133126cd
23 changed files with 47 additions and 41 deletions
|
@ -69,7 +69,7 @@ func functionName(programCounter uintptr) []byte {
|
|||
name = name[period+1:]
|
||||
}
|
||||
// And we should just replace the interpunct with a dot
|
||||
name = bytes.Replace(name, []byte("·"), []byte("."), -1)
|
||||
name = bytes.ReplaceAll(name, []byte("·"), []byte("."))
|
||||
return name
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue