Contains method for a slice
Is there anything similar to a slice.contains(object) method in Go without having to do a search through each element in a slice?