support tts

This commit is contained in:
CaIon committed 2023-11-15 21:05:14 +08:00
1 parent 28fe74d76c
commit 9d68527654
7 files changed
+81 -13

No files matched your search

+9
View File
@@ -207,3 +207,12 @@ func String2Int(str string) int {
}
return num
}
func StringsContains(strs []string, str string) bool {
for _, s := range strs {
if s == str {
return true
}
}
return false
}