Documentation ¶
Overview ¶
Package compare provides a compare functions to compare two objects.
Returns 0 for equality.
Returns - (negative) for a < b.
Returns + (positive) for a > b.
Index ¶
- func Abs(a, b *complex128) int
- func Byte(a, b *byte) int
- func Float32(a, b *float32) int
- func Float64(a, b *float64) int
- func Imag(a, b *complex128) int
- func Int(a, b *int) (r int)
- func Int16(a, b *int16) int
- func Int32(a, b *int32) int
- func Int64(a, b *int64) (r int)
- func Int8(a, b *int8) int
- func Real(a, b *complex128) int
- func Rune(a, b *rune) int
- func Uint(a, b *uint) (r int)
- func Uint16(a, b *uint16) int
- func Uint32(a, b *uint32) (r int)
- func Uint64(a, b *uint64) (r int)
- func Uint8(a, b *uint8) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.