package
0.4.1
Repository: https://github.com/thinkgos/x.git
Documentation: pkg.go.dev

# Functions

AppendInt append int to slice with no duplicates.
AppendInt16 appends int16 to slice with no duplicates.
AppendInt32 appends int32 to slice with no duplicates.
AppendInt64 appends int64 to slice with no duplicates.
AppendInt8 append int8 to slice with no duplicates.
AppendUint append uint to slice with no duplicates.
AppendUint16 appends uint16 to slice with no duplicates.
AppendUint32 appends uint16 to slice with no duplicates.
AppendUint64 appends int64 to slice with no duplicates.
AppendUint8 append uint8 to slice with no duplicates.
BreakUint16 break into bytes.
BreakUint32 break into bytes.
BreakUint64 break into uint32.
BuildUint16 combine into uint16.
BuildUint32 combine into uint32.
BuildUint64 combine into uint64.
Contain checks if x exists in a slice and returns TRUE if x is found.
ContainFloat64 checks if x exists in []float64s and returns TRUE if x is found.
ContainInt checks if x exists in []ints and returns TRUE if x is found.
ContainInt16 checks if x exists in []int16s and returns TRUE if x is found.
ContainInt32 checks if x exists in []int32s and returns TRUE if x is found.
ContainInt64 checks if x exists in []int64s and returns TRUE if x is found.
ContainInt8 checks if x exists in []int8s and returns TRUE if x is found.
ContainUint checks if x exists in []uints and returns TRUE if x is found.
ContainUint16 checks if x exists in []uint16s and returns TRUE if x is found.
ContainUint32 checks if x exists in []uint32s and returns TRUE if x is found.
ContainUint64 checks if x exists in []uint64s and returns TRUE if x is found.
ContainUint8 checks if x exists in []uint8s and returns TRUE if x is found.
DeleteInt delete an int element from slice if it exist.
DeleteInt16 delete an int16 element from slice if it exist.
DeleteInt16All delete all int16 element from slice if it exist.
DeleteInt32 delete an int32 element from slice if it exist.
DeleteInt32All delete all int32 element from slice if it exist.
DeleteInt64 delete an int64 element from slice if it exist.
DeleteInt64All delete all int64 element from slice if it exist.
DeleteInt8 delete an int8 element from slice if it exist.
DeleteInt8All delete all int8 element from slice if it exist.
DeleteIntAll delete all int element from slice if it exist.
DeleteUint delete an uint element from slice if it exist.
DeleteUint16 delete an uint16 element from slice if it exist.
DeleteUint16All delete all uint16 element from slice if it exist.
DeleteUint32 delete an uint32 element from slice if it exist.
DeleteUint32All delete all uint32 element from slice if it exist.
DeleteUint64 delete an uint64 element from slice if it exist.
DeleteUint64All delete all uint64 element from slice if it exist.
DeleteUint8 delete an uint8 element from slice if it exist.
DeleteUint8All delete all uint8 element from slice if it exist.
DeleteUintAll delete all uint element from slice if it exist.
MaxByte returns the max value.
MaxFloat64 returns the max value.
MaxInt returns the max value.
MaxInt16 returns the max value.
MaxInt32 returns the max value.
MaxInt64 returns the max value.
MaxInt8 returns the max value.
MaxUint returns the max value.
MaxUint16 returns the max value.
MaxUint32 returns the max value.
MaxUint64 returns the max value.
MaxUint8 returns the max value.
MinByte returns the min value.
MinFloat64 returns the min value.
MinInt returns the min value.
MinInt16 returns the min value.
MinInt32 returns the min value.
MinInt64 returns the min value.
MinInt8 returns the min value.
MinUint returns the min value.
MinUint16 returns the min value.
MinUint32 returns the min value.
MinUint64 returns the min value.
MinUint8 returns the min value.
ReverseBytes reverse []byte.
SearchInt16s searches for x in a sorted slice of int16s and returns the index as specified by Search.
SearchInt32s searches for x in a sorted slice of int32s and returns the index as specified by Search.
SearchInt64s searches for x in a sorted slice of int64s and returns the index as specified by Search.
SearchInt8s searches for x in a sorted slice of int8s and returns the index as specified by Search.
SearchUint16s searches for x in a sorted slice of uint16s and returns the index as specified by Search.
SearchUint32s searches for x in a sorted slice of uint32s and returns the index as specified by Search.
SearchUint64s searches for x in a sorted slice of uint64s and returns the index as specified by Search.
SearchUint8s searches for x in a sorted slice of uint8s and returns the index as specified by Search.
SearchUints searches for x in a sorted slice of uints and returns the index as specified by Search.
UniqueFloat64s takes an input slice of float64s and returns a new slice of float64s without duplicate values.
UniqueInt16s takes an input slice of int16s and returns a new slice of int16s without duplicate values.
UniqueInt32s takes an input slice of int32s and returns a new slice of int32s without duplicate values.
UniqueInt64s takes an input slice of int64s and returns a new slice of int64s without duplicate values.
UniqueInt8s takes an input slice of int8s and returns a new slice of int8s without duplicate values.
UniqueInts takes an input slice of ints and returns a new slice of ints without duplicate values.
UniqueUint16s takes an input slice of uint16s and returns a new slice of uint16s without duplicate values.
UniqueUint32s takes an input slice of uint32s and returns a new slice of uint32s without duplicate values.
UniqueUint64s takes an input slice of uint64s and returns a new slice of uint64s without duplicate values.
UniqueUint8s takes an input slice of uint8s and returns a new slice of uint8s without duplicate values.
UniqueUints takes an input slice of uints and returns a new slice of uints without duplicate values.

# Type aliases

Int16Slice attaches the methods of Interface to []int16, sorting a increasing order.
Int32Slice attaches the methods of Interface to []int32, sorting a increasing order.
Int64Slice attaches the methods of Interface to []int64, sorting a increasing order.
Int8Slice attaches the methods of Interface to []int8, sorting a increasing order.
Uint16Slice attaches the methods of Interface to []uint16, sorting a increasing order.
Uint32Slice attaches the methods of Interface to []uint, sorting a increasing order.
Uint64Slice attaches the methods of Interface to []uint64, sorting a increasing order.
Uint8Slice attaches the methods of Interface to []uint8, sorting a increasing order.
UintSlice attaches the methods of Interface to []uint, sorting a increasing order.