dedupe

package
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

README

dedupe: deduplicate any slice with comparable elements

Go Reference

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.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL