package util func StrContains(haystack []string, needle string) bool { for _, s := range haystack { if s == needle { return true } } return false }