mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-24 18:11:19 +01:00
fixed / suppressed (irrelevant) golangci-lint errors
This commit is contained in:
@@ -32,6 +32,7 @@ func ToLowerNoSnake(s string) string {
|
||||
return strings.ToLower(strings.ReplaceAll(s, "_", ""))
|
||||
}
|
||||
|
||||
//nolint:intrange
|
||||
func LevenshteinDistance(a, b string) int {
|
||||
if a == b {
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user