package
0.2.0
Repository: https://github.com/sourcenetwork/sourcehub.git
Documentation: pkg.go.dev

# Functions

FromComparator creates a Sortable from a comparator function which takes two instances of T and returns whether left is less than right.
FromExtractor builds a Sortable from a slice of values and an extractor function.
MapFailableSlice maps a slice using a mapping function which may fail.
MapSlice produces a new slice from a slice of elements and a mapping function.

# Structs

Sortable wraps a slice of values with a type that implements sort.Interface.

# Interfaces

No description provided by the author

# Type aliases

Comparator is a function which compares whether left is less than right returns true if it is else false.
Extractor extracts an Ordered value from a type T.