Documentation ¶
Overview ¶
Package dedupe implements a de-duplication function for any comparable slice type, efficiently using a map to check for duplicates. The original order of items is preserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeDupe ¶
func DeDupe[T comparable](slc []T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.