feat(train): add new command to interact with aws and train models

This commit is contained in:
cyrilix committed 2021-10-17 19:15:44 +02:00
1 parent 5436dfebc2
commit 538cea18f2
1064 files changed
+282251 -89305

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package strings
import (
"strings"
)
// HasPrefixFold tests whether the string s begins with prefix, interpreted as UTF-8 strings,
// under Unicode case-folding.
func HasPrefixFold(s, prefix string) bool {
return len(s) >= len(prefix) && strings.EqualFold(s[0:len(prefix)], prefix)
}