package utils func Contains(list []string, needle string) bool { for _, item := range list { if item == needle { return true } } return false }