mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-10 16:13:42 +08:00
support tts
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user