新增了错别字字典
This commit is contained in:
@@ -38,3 +38,8 @@ func GetExtension(s string) string {
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// ReplaceString 替换字符串
|
||||
func ReplaceString(str, old, new string) string {
|
||||
return strings.ReplaceAll(str, old, new)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user