mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
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:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user