Documentation ¶
Index ¶
- func Del[T comparable](s *[]T, val T)
- func DelByIndex[T any](s *[]T, index int)
- func DelFunc[T comparable](s *[]T, f func(i int) bool)
- func Diff[T comparable](a, b []T) (deff []any)
- func Equal[T comparable](a, b []T) bool
- func Insert[T any](s *[]T, index int, val T)
- func Prepend[T any](s *[]T, val T)
- func Unique[T comparable](s *[]T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Del ¶
func Del[T comparable](s *[]T, val T)
func DelByIndex ¶
func DelFunc ¶
func DelFunc[T comparable](s *[]T, f func(i int) bool)
func Diff ¶
func Diff[T comparable](a, b []T) (deff []any)
func Equal ¶
func Equal[T comparable](a, b []T) bool
func Unique ¶
func Unique[T comparable](s *[]T)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.