xutil

package
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 Dump

func Dump(i ...interface{})

func Export

func Export(i ...interface{}) string

func IsEmpty

func IsEmpty(value interface{}) bool

func PrintStack

func PrintStack(skip ...int)

func Stack

func Stack(skip ...int) string

func Throw

func Throw(exception interface{})

func TryCatch

func TryCatch(try func(), catch ...func(exception interface{}))

Types

type Comparator

type Comparator func(a, b interface{}) int

比较器 a < b 返回 < 0 a == b 返回= 0 a > b 返回 > 0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL