Documentation ¶
Index ¶
- func ContainFloat64(s []float64, target float64) bool
- func ContainInt(s []int, target int) bool
- func ContainInt16(s []int16, target int16) bool
- func ContainInt32(s []int32, target int32) bool
- func ContainInt64(s []int64, target int64) bool
- func ContainInt8(s []int8, target int8) bool
- func ContainString(s []string, target string) bool
- func ContainUint(s []uint, target uint) bool
- func ContainUint16(s []uint16, target uint16) bool
- func ContainUint32(s []uint32, target uint32) bool
- func ContainUint64(s []uint64, target uint64) bool
- func ContainUint8(s []uint8, target uint8) bool
- func DiffFloat64(s1 []float64, s2 []float64) []float64
- func DiffInt(s1 []int, s2 []int) []int
- func DiffInt16(s1 []int16, s2 []int16) []int16
- func DiffInt32(s1 []int32, s2 []int32) []int32
- func DiffInt64(s1 []int64, s2 []int64) []int64
- func DiffInt8(s1 []int8, s2 []int8) []int8
- func DiffString(s1 []string, s2 []string) []string
- func DiffUint(s1 []uint, s2 []uint) []uint
- func DiffUint16(s1 []uint16, s2 []uint16) []uint16
- func DiffUint32(s1 []uint32, s2 []uint32) []uint32
- func DiffUint64(s1 []uint64, s2 []uint64) []uint64
- func DiffUint8(s1 []uint8, s2 []uint8) []uint8
- func IntersectFloat64(s1 []float64, s2 []float64) []float64
- func IntersectInt(s1 []int, s2 []int) []int
- func IntersectInt16(s1 []int16, s2 []int16) []int16
- func IntersectInt32(s1 []int32, s2 []int32) []int32
- func IntersectInt64(s1 []int64, s2 []int64) []int64
- func IntersectInt8(s1 []int8, s2 []int8) []int8
- func IntersectString(s1 []string, s2 []string) []string
- func IntersectUint(s1 []uint, s2 []uint) []uint
- func IntersectUint16(s1 []uint16, s2 []uint16) []uint16
- func IntersectUint32(s1 []uint32, s2 []uint32) []uint32
- func IntersectUint64(s1 []uint64, s2 []uint64) []uint64
- func IntersectUint8(s1 []uint8, s2 []uint8) []uint8
- func MergeFloat64(s1 []float64, s2 ...[]float64) []float64
- func MergeInt(s1 []int, s2 ...[]int) []int
- func MergeInt16(s1 []int16, s2 ...[]int16) []int16
- func MergeInt32(s1 []int32, s2 ...[]int32) []int32
- func MergeInt64(s1 []int64, s2 ...[]int64) []int64
- func MergeInt8(s1 []int8, s2 ...[]int8) []int8
- func MergeString(s1 []string, s2 ...[]string) []string
- func MergeUint(s1 []uint, s2 ...[]uint) []uint
- func MergeUint16(s1 []uint16, s2 ...[]uint16) []uint16
- func MergeUint32(s1 []uint32, s2 ...[]uint32) []uint32
- func MergeUint64(s1 []uint64, s2 ...[]uint64) []uint64
- func MergeUint8(s1 []uint8, s2 ...[]uint8) []uint8
- func RemoveFloat64(s []float64, target float64) []float64
- func RemoveInt(s []int, target int) []int
- func RemoveInt16(s []int16, target int16) []int16
- func RemoveInt32(s []int32, target int32) []int32
- func RemoveInt64(s []int64, target int64) []int64
- func RemoveInt8(s []int8, target int8) []int8
- func RemoveString(s []string, target string) []string
- func RemoveUint(s []uint, target uint) []uint
- func RemoveUint16(s []uint16, target uint16) []uint16
- func RemoveUint32(s []uint32, target uint32) []uint32
- func RemoveUint64(s []uint64, target uint64) []uint64
- func RemoveUint8(s []uint8, target uint8) []uint8
- func ReverseFloat64(s []float64) []float64
- func ReverseInt(s []int) []int
- func ReverseInt16(s []int16) []int16
- func ReverseInt32(s []int32) []int32
- func ReverseInt64(s []int64) []int64
- func ReverseInt8(s []int8) []int8
- func ReverseString(s []string) []string
- func ReverseUint(s []uint) []uint
- func ReverseUint16(s []uint16) []uint16
- func ReverseUint32(s []uint32) []uint32
- func ReverseUint64(s []uint64) []uint64
- func ReverseUint8(s []uint8) []uint8
- func SortFloat64(s []float64) []float64
- func SortInt(s []int) []int
- func SortInt16(s []int16) []int16
- func SortInt32(s []int32) []int32
- func SortInt64(s []int64) []int64
- func SortInt8(s []int8) []int8
- func SortString(s []string) []string
- func SortUint(s []uint) []uint
- func SortUint16(s []uint16) []uint16
- func SortUint32(s []uint32) []uint32
- func SortUint64(s []uint64) []uint64
- func SortUint8(s []uint8) []uint8
- func UniqueFloat64(s1 []float64) []float64
- func UniqueInt(s1 []int) []int
- func UniqueInt16(s1 []int16) []int16
- func UniqueInt32(s1 []int32) []int32
- func UniqueInt64(s1 []int64) []int64
- func UniqueInt8(s1 []int8) []int8
- func UniqueString(s1 []string) []string
- func UniqueUint(s1 []uint) []uint
- func UniqueUint16(s1 []uint16) []uint16
- func UniqueUint32(s1 []uint32) []uint32
- func UniqueUint64(s1 []uint64) []uint64
- func UniqueUint8(s1 []uint8) []uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainFloat64 ¶
ContainFloat64 check if target is in ss
func ContainInt16 ¶
ContainInt16 check if target is in ss
func ContainInt32 ¶
ContainInt32 check if target is in ss
func ContainInt64 ¶
ContainInt64 check if target is in ss
func ContainInt8 ¶
ContainInt8 check if target is in ss
func ContainString ¶
ContainString check if target is in ss
func ContainUint ¶
ContainUint check if target is in ss
func ContainUint16 ¶
ContainUint16 check if target is in ss
func ContainUint32 ¶
ContainUint32 check if target is in ss
func ContainUint64 ¶
ContainUint64 check if target is in ss
func ContainUint8 ¶
ContainUint8 check if target is in ss
func DiffFloat64 ¶
DiffFloat64 computes the difference of two slices return a slice containing all the entries from s1 but not in s2
func DiffInt ¶
DiffInt computes the difference of two slices return a slice containing all the entries from s1 but not in s2
func DiffInt16 ¶
DiffInt16 computes the difference of two slices return a slice containing all the entries from s1 but not in s2
func DiffInt32 ¶
DiffInt32 computes the difference of two slices return a slice containing all the entries from s1 but not in s2
func DiffInt64 ¶
DiffInt64 computes the difference of two slices return a slice containing all the entries from s1 but not in s2
func DiffInt8 ¶
DiffInt8 computes the difference of two slices return a slice containing all the entries from s1 but not in s2
func DiffString ¶
DiffString computes the difference of two slices return a slice containing all the entries from s1 but not in s2
func DiffUint ¶
DiffUint computes the difference of two slices return a slice containing all the entries from s1 but not in s2
func DiffUint16 ¶
DiffUint16 computes the difference of two slices return a slice containing all the entries from s1 but not in s2
func DiffUint32 ¶
DiffUint32 computes the difference of two slices return a slice containing all the entries from s1 but not in s2
func DiffUint64 ¶
DiffUint64 computes the difference of two slices return a slice containing all the entries from s1 but not in s2
func DiffUint8 ¶
DiffUint8 computes the difference of two slices return a slice containing all the entries from s1 but not in s2
func IntersectFloat64 ¶
IntersectFloat64 computes the intersection of two slices return a slice containing the entries exist in s1 and s2
func IntersectInt ¶
IntersectInt computes the intersection of two slices return a slice containing the entries exist in s1 and s2
func IntersectInt16 ¶
IntersectInt16 computes the intersection of two slices return a slice containing the entries exist in s1 and s2
func IntersectInt32 ¶
IntersectInt32 computes the intersection of two slices return a slice containing the entries exist in s1 and s2
func IntersectInt64 ¶
IntersectInt64 computes the intersection of two slices return a slice containing the entries exist in s1 and s2
func IntersectInt8 ¶
IntersectInt8 computes the intersection of two slices return a slice containing the entries exist in s1 and s2
func IntersectString ¶
IntersectString computes the intersection of two slices return a slice containing the entries exist in s1 and s2
func IntersectUint ¶
IntersectUint computes the intersection of two slices return a slice containing the entries exist in s1 and s2
func IntersectUint16 ¶
IntersectUint16 computes the intersection of two slices return a slice containing the entries exist in s1 and s2
func IntersectUint32 ¶
IntersectUint32 computes the intersection of two slices return a slice containing the entries exist in s1 and s2
func IntersectUint64 ¶
IntersectUint64 computes the intersection of two slices return a slice containing the entries exist in s1 and s2
func IntersectUint8 ¶
IntersectUint8 computes the intersection of two slices return a slice containing the entries exist in s1 and s2
func MergeFloat64 ¶
MergeFloat64 merge one or more arrays
func MergeInt16 ¶
MergeInt16 merge one or more arrays
func MergeInt32 ¶
MergeInt32 merge one or more arrays
func MergeInt64 ¶
MergeInt64 merge one or more arrays
func MergeString ¶
MergeString merge one or more arrays
func MergeUint16 ¶
MergeUint16 merge one or more arrays
func MergeUint32 ¶
MergeUint32 merge one or more arrays
func MergeUint64 ¶
MergeUint64 merge one or more arrays
func MergeUint8 ¶
MergeUint8 merge one or more arrays
func RemoveFloat64 ¶
RemoveFloat64 remove empty target elements from ss
func RemoveInt16 ¶
RemoveInt16 remove empty target elements from ss
func RemoveInt32 ¶
RemoveInt32 remove empty target elements from ss
func RemoveInt64 ¶
RemoveInt64 remove empty target elements from ss
func RemoveInt8 ¶
RemoveInt8 remove empty target elements from ss
func RemoveString ¶
RemoveString remove empty target elements from ss
func RemoveUint ¶
RemoveUint remove empty target elements from ss
func RemoveUint16 ¶
RemoveUint16 remove empty target elements from ss
func RemoveUint32 ¶
RemoveUint32 remove empty target elements from ss
func RemoveUint64 ¶
RemoveUint64 remove empty target elements from ss
func RemoveUint8 ¶
RemoveUint8 remove empty target elements from ss
func ReverseFloat64 ¶
ReverseFloat64 reverse the input slice
func UniqueFloat64 ¶
UniqueFloat64 Removes duplicate values from slice
func UniqueInt16 ¶
UniqueInt16 Removes duplicate values from slice
func UniqueInt32 ¶
UniqueInt32 Removes duplicate values from slice
func UniqueInt64 ¶
UniqueInt64 Removes duplicate values from slice
func UniqueString ¶
UniqueString Removes duplicate values from slice
func UniqueUint16 ¶
UniqueUint16 Removes duplicate values from slice
func UniqueUint32 ¶
UniqueUint32 Removes duplicate values from slice
func UniqueUint64 ¶
UniqueUint64 Removes duplicate values from slice
func UniqueUint8 ¶
UniqueUint8 Removes duplicate values from slice
Types ¶
This section is empty.