package tools func ArrayContains(arr []string, str string) bool { for _, elem := range arr { if elem == str { return true } } return false }