Documentation
¶
Index ¶
- func ReverseInterface(a []interface{}) []interface{}
- func SearchComparable(a []types.Comparable, x types.Comparable) int
- func SearchFloat32(a []float32, x float32) int
- func SearchFloat64(a []float64, x float64) int
- func SearchInt(a []int, x int) int
- func SearchInt16(a []int16, x int16) int
- func SearchInt32(a []int32, x int32) int
- func SearchInt64(a []int64, x int64) int
- func SearchInt8(a []int8, x int8) int
- func SearchString(a []string, x string) int
- func SearchUint(a []uint, x uint) int
- func SearchUint16(a []uint16, x uint16) int
- func SearchUint32(a []uint32, x uint32) int
- func SearchUint64(a []uint64, x uint64) int
- func SearchUint8(a []uint8, x uint8) int
- type ByteSlice
- type ComparableSlice
- type Float32Slice
- type Float64Slice
- type Int16Slice
- type Int32Slice
- type Int64Slice
- type Int8Slice
- type IntSlice
- type StringSlice
- type Uint16Slice
- type Uint32Slice
- type Uint64Slice
- type Uint8Slice
- type UintSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReverseInterface ¶
func ReverseInterface(a []interface{}) []interface{}
func SearchComparable ¶
func SearchComparable(a []types.Comparable, x types.Comparable) int
func SearchFloat32 ¶
func SearchFloat64 ¶
func SearchInt16 ¶
func SearchInt32 ¶
func SearchInt64 ¶
func SearchInt8 ¶
func SearchString ¶
func SearchUint ¶
func SearchUint16 ¶
func SearchUint32 ¶
func SearchUint64 ¶
func SearchUint8 ¶
Types ¶
type ComparableSlice ¶
type ComparableSlice types.ComparableSlice
func (ComparableSlice) Len ¶
func (p ComparableSlice) Len() int
func (ComparableSlice) Less ¶
func (p ComparableSlice) Less(i, j int) bool
func (ComparableSlice) Sort ¶
func (p ComparableSlice) Sort()
func (ComparableSlice) Swap ¶
func (p ComparableSlice) Swap(i, j int)
type Float32Slice ¶
type Float32Slice types.Float32Slice
func (Float32Slice) Len ¶
func (p Float32Slice) Len() int
func (Float32Slice) Less ¶
func (p Float32Slice) Less(i, j int) bool
func (Float32Slice) Sort ¶
func (p Float32Slice) Sort()
func (Float32Slice) Swap ¶
func (p Float32Slice) Swap(i, j int)
type Float64Slice ¶
type Float64Slice types.Float64Slice
func (Float64Slice) Len ¶
func (p Float64Slice) Len() int
func (Float64Slice) Less ¶
func (p Float64Slice) Less(i, j int) bool
func (Float64Slice) Sort ¶
func (p Float64Slice) Sort()
func (Float64Slice) Swap ¶
func (p Float64Slice) Swap(i, j int)
type Int16Slice ¶
type Int16Slice types.Int16Slice
func (Int16Slice) Len ¶
func (p Int16Slice) Len() int
func (Int16Slice) Less ¶
func (p Int16Slice) Less(i, j int) bool
func (Int16Slice) Sort ¶
func (p Int16Slice) Sort()
func (Int16Slice) Swap ¶
func (p Int16Slice) Swap(i, j int)
type Int32Slice ¶
type Int32Slice types.Int32Slice
func (Int32Slice) Len ¶
func (p Int32Slice) Len() int
func (Int32Slice) Less ¶
func (p Int32Slice) Less(i, j int) bool
func (Int32Slice) Sort ¶
func (p Int32Slice) Sort()
func (Int32Slice) Swap ¶
func (p Int32Slice) Swap(i, j int)
type Int64Slice ¶
type Int64Slice types.Int64Slice
func (Int64Slice) Len ¶
func (p Int64Slice) Len() int
func (Int64Slice) Less ¶
func (p Int64Slice) Less(i, j int) bool
func (Int64Slice) Sort ¶
func (p Int64Slice) Sort()
func (Int64Slice) Swap ¶
func (p Int64Slice) Swap(i, j int)
type StringSlice ¶
type StringSlice types.StringSlice
func (StringSlice) Len ¶
func (p StringSlice) Len() int
func (StringSlice) Less ¶
func (p StringSlice) Less(i, j int) bool
func (StringSlice) Sort ¶
func (p StringSlice) Sort()
func (StringSlice) Swap ¶
func (p StringSlice) Swap(i, j int)
type Uint16Slice ¶
type Uint16Slice types.Uint16Slice
func (Uint16Slice) Len ¶
func (p Uint16Slice) Len() int
func (Uint16Slice) Less ¶
func (p Uint16Slice) Less(i, j int) bool
func (Uint16Slice) Sort ¶
func (p Uint16Slice) Sort()
func (Uint16Slice) Swap ¶
func (p Uint16Slice) Swap(i, j int)
type Uint32Slice ¶
type Uint32Slice types.Uint32Slice
func (Uint32Slice) Len ¶
func (p Uint32Slice) Len() int
func (Uint32Slice) Less ¶
func (p Uint32Slice) Less(i, j int) bool
func (Uint32Slice) Sort ¶
func (p Uint32Slice) Sort()
func (Uint32Slice) Swap ¶
func (p Uint32Slice) Swap(i, j int)
type Uint64Slice ¶
type Uint64Slice types.Uint64Slice
func (Uint64Slice) Len ¶
func (p Uint64Slice) Len() int
func (Uint64Slice) Less ¶
func (p Uint64Slice) Less(i, j int) bool
func (Uint64Slice) Sort ¶
func (p Uint64Slice) Sort()
func (Uint64Slice) Swap ¶
func (p Uint64Slice) Swap(i, j int)
type Uint8Slice ¶
type Uint8Slice types.Uint8Slice
func (Uint8Slice) Len ¶
func (p Uint8Slice) Len() int
func (Uint8Slice) Less ¶
func (p Uint8Slice) Less(i, j int) bool
func (Uint8Slice) Sort ¶
func (p Uint8Slice) Sort()
func (Uint8Slice) Swap ¶
func (p Uint8Slice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.