func SliceIndexOf(slice []string, val string) int {
	if slice == nil {
		return -1
	}

	for i, it := range slice {
		if it == val {
			return i
		}
	}
	return -1
}
func SliceIndexOf(slice []string, val string) int {
	if slice == nil {
		return -1
	}

	for i, it := range slice {
		if it == val {
			return i
		}
	}
	return -1
}
func SliceIndexOf ( slice [ ] string , val string ) int { if slice == nil { return - 1 } for i , it := range slice { if it == val { return i } } return - 1 }
// SliceIndexOf gets the indx of val in slice. Returns -1 if not found.
SliceIndexOf gets the indx of val in slice . Returns - 1 if not found .