package
0.0.0-20241016072905-33eeef362b8f
Repository: https://github.com/runnerktb/libs.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Difference returns a slice of values that are only present in one of the input slices [1, 2, 2, 4, 6] & [2, 4, 5] >> [1, 5, 6] [1, 1, 3, 4, 5, 6] >> [1, 3, 4, 5, 6].
DifferenceString finds the difference of two arrays.
DifferenceStringArr finds the difference of two arrays using a multidimensional array as inputs Deprecated: use Difference instead.
DifferenceUint64 finds the difference of two arrays.
DifferenceUint64Arr finds the difference of two arrays using a multidimensional array as inputs.
Distinct returns the unique vals of a slice [1, 1, 2, 3] >> [1, 2, 3].
DistinctIntersectUint64 finds the intersection of two arrays of distinct vals.
DistinctIntersectUint64Arr finds the intersection of two distinct arrays using a multidimensional array as inputs Deprecated: use Distinct instead.
DistinctString removes duplicate values from one array.
DistinctUint64 removes duplicate values from one array.
Intersect returns a slice of values that are present in all of the input slices [1, 1, 3, 4, 5, 6] & [2, 3, 6] >> [3, 6] [1, 1, 3, 4, 5, 6] >> [1, 3, 4, 5, 6].
IntersectString finds the intersection of two arrays.
IntersectStringArr finds the intersection of two arrays using a multidimensional array as inputs Deprecated: use Intersect instead.
IntersectUint64 finds the intersection of two arrays.
IntersectUint64Arr finds the intersection of two arrays using a multidimensional array as inputs Deprecated: use Intersect instead.
SortedIntersectUint64 finds the intersection of two sorted arrays.
SortedIntersectUint64Arr finds the intersection of two arrays using a multidimensional array as inputs Deprecated: use Intersect instead.
Union returns a slice that contains the unique values of all the input slices [1, 2, 2, 4, 6] & [2, 4, 5] >> [1, 2, 4, 5, 6] [1, 1, 3, 4, 5, 6] >> [1, 3, 4, 5, 6].
UnionString finds the union of two arrays.
UnionStringArr finds the union of two arrays using a multidimensional array as inputs Deprecated: use Union instead.
UnionUint64 finds the union of two arrays.
UnionUint64Arr finds the union of two arrays using a multidimensional array as inputs Deprecated: use Union instead.