Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
09acd79fe8
|
|||
0f1586393b
|
@ -267,7 +267,7 @@ func cleanKey(key string) string {
|
||||
return -1
|
||||
}
|
||||
|
||||
key = strings.Map(fn, strings.ToUpper(key))
|
||||
key = strings.Trim(strings.Map(fn, strings.ToUpper(key)), "_")
|
||||
return expr.ReplaceAllString(key, "_")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user