Documentation ¶
Index ¶
- func ComparatorByte(a, b interface{}) int
- func ComparatorFloat32(a, b interface{}) int
- func ComparatorFloat64(a, b interface{}) int
- func ComparatorInt(a, b interface{}) int
- func ComparatorInt16(a, b interface{}) int
- func ComparatorInt32(a, b interface{}) int
- func ComparatorInt64(a, b interface{}) int
- func ComparatorInt8(a, b interface{}) int
- func ComparatorRune(a, b interface{}) int
- func ComparatorString(a, b interface{}) int
- func ComparatorTime(a, b interface{}) int
- func ComparatorUint(a, b interface{}) int
- func ComparatorUint16(a, b interface{}) int
- func ComparatorUint32(a, b interface{}) int
- func ComparatorUint64(a, b interface{}) int
- func ComparatorUint8(a, b interface{}) int
- func Dump(i ...interface{})
- func Export(i ...interface{}) string
- func IsEmpty(value interface{}) bool
- func PrintStack(skip ...int)
- func Stack(skip ...int) string
- func Throw(exception interface{})
- func TryCatch(try func(), catch ...func(exception interface{}))
- type Comparator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparatorByte ¶
func ComparatorByte(a, b interface{}) int
func ComparatorFloat32 ¶
func ComparatorFloat32(a, b interface{}) int
func ComparatorFloat64 ¶
func ComparatorFloat64(a, b interface{}) int
func ComparatorInt ¶
func ComparatorInt(a, b interface{}) int
func ComparatorInt16 ¶
func ComparatorInt16(a, b interface{}) int
func ComparatorInt32 ¶
func ComparatorInt32(a, b interface{}) int
func ComparatorInt64 ¶
func ComparatorInt64(a, b interface{}) int
func ComparatorInt8 ¶
func ComparatorInt8(a, b interface{}) int
func ComparatorRune ¶
func ComparatorRune(a, b interface{}) int
func ComparatorString ¶
func ComparatorString(a, b interface{}) int
func ComparatorTime ¶
func ComparatorTime(a, b interface{}) int
func ComparatorUint ¶
func ComparatorUint(a, b interface{}) int
func ComparatorUint16 ¶
func ComparatorUint16(a, b interface{}) int
func ComparatorUint32 ¶
func ComparatorUint32(a, b interface{}) int
func ComparatorUint64 ¶
func ComparatorUint64(a, b interface{}) int
func ComparatorUint8 ¶
func ComparatorUint8(a, b interface{}) int
func PrintStack ¶
func PrintStack(skip ...int)
Types ¶
type Comparator ¶
type Comparator func(a, b interface{}) int
比较器 a < b 返回 < 0 a == b 返回= 0 a > b 返回 > 0
Click to show internal directories.
Click to hide internal directories.