Documentation ¶
Index ¶
- func Intersect[T constraints.Ordered](a, b []T) []T
- func Map[T constraints.Ordered](slice []T) map[T]struct{}
- func Remove[T constraints.Ordered](slice []T, item T) []T
- func Subset[T constraints.Ordered](subset, total []T) bool
- func Transpose[T constraints.Ordered](slice [][]T) [][]T
- func Uniq[T constraints.Ordered](items []T) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Subset ¶
func Subset[T constraints.Ordered](subset, total []T) bool
first items is subset slice
func Transpose ¶
func Transpose[T constraints.Ordered](slice [][]T) [][]T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.