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