package
0.0.0-20191119134328-9ff59ee4c896
Repository: https://github.com/dictybase/apihelpers.git
Documentation: pkg.go.dev
# Functions
Contains reports whether s is present in slice a.
Index returns the index of the first instance of s in slice a, or -1 if s is not present in a.
Map applies the given function to each element of a, returning slice of results.
MapIdx applies the given function to each element of a, returning slice of results.
Remove removes items from the given(a) slice.
UniqueFloat32 remove duplicates from float32 slice.
UniqueFloat64 remove duplicates from float64 slice.
UniqueInt remove duplicates from int slice.
UniqueInt16 remove duplicates from int16 slice.
UniqueInt32 remove duplicates from int32 slice.
UniqueInt64 remove duplicates from int64 slice.
UniqueInt8 remove duplicates from int8 slice.
UniqueString remove duplicates from string slice.
UniqueUint remove duplicates from uint slice.
UniqueUint16 remove duplicates from uint16 slice.
UniqueUint32 remove duplicates from uint32 slice.
UniqueUint64 remove duplicates from uint64 slice.
UniqueUint8 remove duplicates from uint8 slice.