Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeDuplicate ¶ added in v0.1.24
func DeDuplicate[S ~[]E, E comparable](s S) S
DeDuplicate returns a copy of the slice with duplicates removed and without affecting value order from https://stackoverflow.com/questions/66643946/how-to-remove-duplicates-strings-or-int-from-slice-in-go
func EqualUnordered ¶ added in v0.1.22
EqualUnordered true if s1 and s2 are equal regardless of sorting
func SortAndDeDuplicate ¶ added in v0.1.24
SortAndDeDuplicate returns a sorted and de-duplicated copy of the slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.