Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindIndex ¶
func FindIndex[T comparable](s []T, v T) int
FindIndex 查找第一个匹配的元素所在的index,返回-1代表没有找到
func RemoveElems ¶ added in v1.1.7
func RemoveElems[T comparable](s *[]T, beRemoved []T)
RemoveElems 删除第一个匹配的元素
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.