package
module
Version:
v0.0.0-...-2d10a2c
Opens a new window with list of versions in this module.
Published: Nov 30, 2018
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Rule func(i1, i2 interface{}) bool
Rule is a generic comparator. Client must provide its own specific implementation per each type.
type Sorter interface {
By(Rule)
}
Sorter
func Sort(vals []interface{}) Sorter
Sort takes a slice of interface{} values and returns a Sorter object
Source Files
¶
Click to show internal directories.
Click to hide internal directories.