Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Comparator ¶
func Comparator(a, b interface{}) int
Comparator implements a function that compares the builtin basic types of Go and that returns -1 if a is smaller than b, 1 if a is bigger than b and 0 if both values are equal.
Types ¶
Click to show internal directories.
Click to hide internal directories.