Documentation ¶
Overview ¶
Package slice contains some utility functions to work with slices
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCommaSeparatedList ¶ added in v0.59.0
func SliceDifference ¶
func SliceDifference[T comparable](a, b []T) []T
SliceDifference returns the elements in `a` that aren't in `b`.
func StringSliceDifference ¶
StringSliceDifference returns the elements in `a` that aren't in `b`.
func StringSliceMerge ¶ added in v0.15.0
StringSliceMerge merges multiple slices of strings together and removes duplicates
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.