package helpers // contains checks if a string is present in a slice func Contains(s []int, str int) bool { for _, v := range s { if v == str { return true } } return false }