package util func ContainsInt(slice []int, n int) bool { for _, i := range slice { if i == n { return true } } return false }