Registry / utility / campoy-unique

campoy-unique

JSON →
library0.0.0-20180121183637-88950e537e7egogounverified

Unique provides primitives for sorting slices and removing duplicate elements.

go get github.com/campoy/unique
INSTALL
IMPORT
SIG · CAMPOY-UNIQUE
C
campoy-unique
utilitygov0.0.0-20180121183637-88950e537e7e
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

unique
github.com/campoy/unique

Sort and remove duplicates from a slice

package main import ( "fmt" "github.com/campoy/unique" ) func main() { ints := []int{3, 1, 2, 3, 1} unique.SortAndUnique(ints) fmt.Println(ints) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180121183637-88950e537e7elatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
campoy-unique — go get campoy-unique · libregistry