How does one determine the position of an element present in slice?
I need something like the following:
type intSlice []int func (slice intSlice) p
There is no library function for that. You have to code by your own.