新增了错别字字典

This commit is contained in:
2024-11-29 13:34:06 +08:00
parent f31a169bc2
commit 6b5cd7deab
9 changed files with 485 additions and 0 deletions
+5
View File
@@ -38,3 +38,8 @@ func GetExtension(s string) string {
}
return ""
}
// ReplaceString 替换字符串
func ReplaceString(str, old, new string) string {
return strings.ReplaceAll(str, old, new)
}