func (cs caseList) find(channel interface{}) int {
	for i, cas := range cs {
		if cas.Chan.Interface() == channel {
			return i
		}
	}
	return -1
}
// find returns the index of a case containing the given channel.
find returns the index of a case containing the given channel.
// find returns the index of a case containing the given channel .
func (cs caseList) find(channel interface{}) int {
	for i, cas := range cs {
		if cas.Chan.Interface() == channel {
			return i
		}
	}
	return -1
}
func ( cs caseList ) find ( channel interface { } ) int { for i , cas := range cs { if cas . Chan . Interface ( ) == channel { return i } } return - 1 }
find returns the index of a case containing the given channel.
find returns the index of a case containing the given channel .