slicex

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 2 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearDuplicateString

func ClearDuplicateString(slice []string)

清除重复值

func ContainsComplex128

func ContainsComplex128(slice []complex128, target complex128) bool

包含

func ContainsComplex64

func ContainsComplex64(slice []complex64, target complex64) bool

包含

func ContainsFloat32

func ContainsFloat32(slice []float32, target float32) bool

包含

func ContainsFloat64

func ContainsFloat64(slice []float64, target float64) bool

包含

func ContainsInt

func ContainsInt(slice []int, target int) bool

包含

func ContainsInt16

func ContainsInt16(slice []int16, target int16) bool

包含

func ContainsInt32

func ContainsInt32(slice []int32, target int32) bool

包含

func ContainsInt64

func ContainsInt64(slice []int64, target int64) bool

包含

func ContainsInt8

func ContainsInt8(slice []int8, target int8) bool

包含

func ContainsString

func ContainsString(slice []string, target string) bool

包含

func ContainsT

func ContainsT(slice []interface{}, target interface{}) bool

包含

func ContainsUint

func ContainsUint(slice []uint, target uint) bool

包含

func ContainsUint16

func ContainsUint16(slice []uint16, target uint16) bool

包含

func ContainsUint32

func ContainsUint32(slice []uint32, target uint32) bool

包含

func ContainsUint64

func ContainsUint64(slice []uint64, target uint64) bool

包含

func ContainsUint8

func ContainsUint8(slice []uint8, target uint8) bool

包含

func CopyByte

func CopyByte(slice []byte) []uint8

func CopyString

func CopyString(slice []string) []string

克隆

func CopyT

func CopyT(slice []interface{}) []interface{}

func CopyUint8

func CopyUint8(slice []uint8) []uint8

func EqualComplex128

func EqualComplex128(a, b []complex128) bool

比较

func EqualComplex64

func EqualComplex64(a, b []complex64) bool

比较

func EqualFloat32

func EqualFloat32(a, b []float32) bool

比较

func EqualFloat64

func EqualFloat64(a, b []float64) bool

比较

func EqualInt

func EqualInt(a, b []int) bool

比较

func EqualInt16

func EqualInt16(a, b []int16) bool

比较

func EqualInt32

func EqualInt32(a, b []int32) bool

比较

func EqualInt64

func EqualInt64(a, b []int64) bool

比较

func EqualInt8

func EqualInt8(a, b []int8) bool

比较

func EqualString

func EqualString(a, b []string) bool

比较

func EqualT

func EqualT(a, b []interface{}) bool

比较

func EqualUint

func EqualUint(a, b []uint) bool

比较

func EqualUint16

func EqualUint16(a, b []uint16) bool

比较

func EqualUint32

func EqualUint32(a, b []uint32) bool

比较

func EqualUint64

func EqualUint64(a, b []uint64) bool

比较

func EqualUint8

func EqualUint8(a, b []uint8) bool

比较

func IndexComplex128

func IndexComplex128(slice []complex128, target complex128) (int, bool)

从头部查找

func IndexComplex64

func IndexComplex64(slice []complex64, target complex64) (int, bool)

从头部查找

func IndexFloat32

func IndexFloat32(slice []float32, target float32) (int, bool)

从头部查找

func IndexFloat64

func IndexFloat64(slice []float64, target float64) (int, bool)

从头部查找

func IndexInt

func IndexInt(slice []int, target int) (int, bool)

从头部查找

func IndexInt16

func IndexInt16(slice []int16, target int16) (int, bool)

从头部查找

func IndexInt32

func IndexInt32(slice []int32, target int32) (int, bool)

从头部查找

func IndexInt64

func IndexInt64(slice []int64, target int64) (int, bool)

从头部查找

func IndexInt8

func IndexInt8(slice []int8, target int8) (int, bool)

从头部查找

func IndexString

func IndexString(slice []string, target string) (int, bool)

从头部查找

func IndexT

func IndexT(slice []interface{}, target interface{}) (int, bool)

从头部查找

func IndexUint

func IndexUint(slice []uint, target uint) (int, bool)

从头部查找

func IndexUint16

func IndexUint16(slice []uint16, target uint16) (int, bool)

从头部查找

func IndexUint32

func IndexUint32(slice []uint32, target uint32) (int, bool)

从头部查找

func IndexUint64

func IndexUint64(slice []uint64, target uint64) (int, bool)

从头部查找

func IndexUint8

func IndexUint8(slice []uint8, target uint8) (int, bool)

从头部查找

func InsertComplex128

func InsertComplex128(slice []complex128, pos int, target ...complex128) []complex128

按位置插入

func InsertComplex64

func InsertComplex64(slice []complex64, pos int, target ...complex64) []complex64

按位置插入

func InsertFloat32

func InsertFloat32(slice []float32, pos int, target ...float32) []float32

按位置插入

func InsertFloat64

func InsertFloat64(slice []float64, pos int, target ...float64) []float64

按位置插入

func InsertHeadComplex128

func InsertHeadComplex128(slice []complex128, target ...complex128) []complex128

头插入

func InsertHeadComplex64

func InsertHeadComplex64(slice []complex64, target ...complex64) []complex64

头插入

func InsertHeadFloat32

func InsertHeadFloat32(slice []float32, target ...float32) []float32

头插入

func InsertHeadFloat64

func InsertHeadFloat64(slice []float64, target ...float64) []float64

头插入

func InsertHeadInt

func InsertHeadInt(slice []int, target ...int) []int

头插入

func InsertHeadInt16

func InsertHeadInt16(slice []int16, target ...int16) []int16

头插入

func InsertHeadInt32

func InsertHeadInt32(slice []int32, target ...int32) []int32

头插入

func InsertHeadInt64

func InsertHeadInt64(slice []int64, target ...int64) []int64

头插入

func InsertHeadInt8

func InsertHeadInt8(slice []int8, target ...int8) []int8

头插入

func InsertHeadString

func InsertHeadString(slice []string, target ...string) []string

头插入

func InsertHeadT

func InsertHeadT(slice []interface{}, target ...interface{}) []interface{}

头插入

func InsertHeadUint

func InsertHeadUint(slice []uint, target ...uint) []uint

头插入

func InsertHeadUint16

func InsertHeadUint16(slice []uint16, target ...uint16) []uint16

头插入

func InsertHeadUint32

func InsertHeadUint32(slice []uint32, target ...uint32) []uint32

头插入

func InsertHeadUint64

func InsertHeadUint64(slice []uint64, target ...uint64) []uint64

头插入

func InsertHeadUint8

func InsertHeadUint8(slice []uint8, target ...uint8) []uint8

头插入

func InsertInt

func InsertInt(slice []int, pos int, target ...int) []int

按位置插入

func InsertInt16

func InsertInt16(slice []int16, pos int, target ...int16) []int16

按位置插入

func InsertInt32

func InsertInt32(slice []int32, pos int, target ...int32) []int32

按位置插入

func InsertInt64

func InsertInt64(slice []int64, pos int, target ...int64) []int64

按位置插入

func InsertInt8

func InsertInt8(slice []int8, pos int, target ...int8) []int8

按位置插入

func InsertString

func InsertString(slice []string, pos int, target ...string) []string

按位置插入

func InsertT

func InsertT(slice []interface{}, pos int, target ...interface{}) []interface{}

按位置插入

func InsertTailComplex128

func InsertTailComplex128(slice []complex128, target ...complex128) []complex128

尾插入

func InsertTailComplex64

func InsertTailComplex64(slice []complex64, target ...complex64) []complex64

尾插入

func InsertTailFloat32

func InsertTailFloat32(slice []float32, target ...float32) []float32

尾插入

func InsertTailFloat64

func InsertTailFloat64(slice []float64, target ...float64) []float64

尾插入

func InsertTailInt

func InsertTailInt(slice []int, target ...int) []int

尾插入

func InsertTailInt16

func InsertTailInt16(slice []int16, target ...int16) []int16

尾插入

func InsertTailInt32

func InsertTailInt32(slice []int32, target ...int32) []int32

尾插入

func InsertTailInt64

func InsertTailInt64(slice []int64, target ...int64) []int64

尾插入

func InsertTailInt8

func InsertTailInt8(slice []int8, target ...int8) []int8

尾插入

func InsertTailString

func InsertTailString(slice []string, target ...string) []string

尾插入

func InsertTailT

func InsertTailT(slice []interface{}, target ...interface{}) []interface{}

尾插入

func InsertTailUint

func InsertTailUint(slice []uint, target ...uint) []uint

尾插入

func InsertTailUint16

func InsertTailUint16(slice []uint16, target ...uint16) []uint16

尾插入

func InsertTailUint32

func InsertTailUint32(slice []uint32, target ...uint32) []uint32

尾插入

func InsertTailUint64

func InsertTailUint64(slice []uint64, target ...uint64) []uint64

尾插入

func InsertTailUint8

func InsertTailUint8(slice []uint8, target ...uint8) []uint8

尾插入

func InsertUint

func InsertUint(slice []uint, pos int, target ...uint) []uint

按位置插入

func InsertUint16

func InsertUint16(slice []uint16, pos int, target ...uint16) []uint16

按位置插入

func InsertUint32

func InsertUint32(slice []uint32, pos int, target ...uint32) []uint32

按位置插入

func InsertUint64

func InsertUint64(slice []uint64, pos int, target ...uint64) []uint64

按位置插入

func InsertUint8

func InsertUint8(slice []uint8, pos int, target ...uint8) []uint8

按位置插入

func LastIndexComplex128

func LastIndexComplex128(slice []complex128, target complex128) (int, bool)

从尾部查找

func LastIndexComplex64

func LastIndexComplex64(slice []complex64, target complex64) (int, bool)

从尾部查找

func LastIndexFloat32

func LastIndexFloat32(slice []float32, target float32) (int, bool)

从尾部查找

func LastIndexFloat64

func LastIndexFloat64(slice []float64, target float64) (int, bool)

从尾部查找

func LastIndexInt

func LastIndexInt(slice []int, target int) (int, bool)

从尾部查找

func LastIndexInt16

func LastIndexInt16(slice []int16, target int16) (int, bool)

从尾部查找

func LastIndexInt32

func LastIndexInt32(slice []int32, target int32) (int, bool)

从尾部查找

func LastIndexInt64

func LastIndexInt64(slice []int64, target int64) (int, bool)

从尾部查找

func LastIndexInt8

func LastIndexInt8(slice []int8, target int8) (int, bool)

从尾部查找

func LastIndexString

func LastIndexString(slice []string, target string) (int, bool)

从尾部查找

func LastIndexT

func LastIndexT(slice []interface{}, target interface{}) (int, bool)

从尾部查找

func LastIndexUint

func LastIndexUint(slice []uint, target uint) (int, bool)

从尾部查找

func LastIndexUint16

func LastIndexUint16(slice []uint16, target uint16) (int, bool)

从尾部查找

func LastIndexUint32

func LastIndexUint32(slice []uint32, target uint32) (int, bool)

从尾部查找

func LastIndexUint64

func LastIndexUint64(slice []uint64, target uint64) (int, bool)

从尾部查找

func LastIndexUint8

func LastIndexUint8(slice []uint8, target uint8) (int, bool)

从尾部查找

func MergeComplex128

func MergeComplex128(slices ...[]complex128) []complex128

合并

func MergeComplex64

func MergeComplex64(slices ...[]complex64) []complex64

合并

func MergeFloat32

func MergeFloat32(slices ...[]float32) []float32

合并

func MergeFloat64

func MergeFloat64(slices ...[]float64) []float64

合并

func MergeInt

func MergeInt(slices ...[]int) []int

合并

func MergeInt16

func MergeInt16(slices ...[]int16) []int16

合并

func MergeInt32

func MergeInt32(slices ...[]int32) []int32

合并

func MergeInt64

func MergeInt64(slices ...[]int64) []int64

合并

func MergeInt8

func MergeInt8(slices ...[]int8) []int8

合并

func MergeString

func MergeString(slices ...[]string) []string

合并

func MergeT

func MergeT(slices ...[]interface{}) []interface{}

合并

func MergeUint

func MergeUint(slices ...[]uint) []uint

合并

func MergeUint16

func MergeUint16(slices ...[]uint16) []uint16

合并

func MergeUint32

func MergeUint32(slices ...[]uint32) []uint32

合并

func MergeUint64

func MergeUint64(slices ...[]uint64) []uint64

合并

func MergeUint8

func MergeUint8(slices ...[]uint8) []uint8

合并

func RemoveAllValueComplex128

func RemoveAllValueComplex128(slice []complex128, target complex128) ([]complex128, bool)

按值删除

func RemoveAllValueComplex64

func RemoveAllValueComplex64(slice []complex64, target complex64) ([]complex64, bool)

按值删除

func RemoveAllValueFloat32

func RemoveAllValueFloat32(slice []float32, target float32) ([]float32, bool)

按值删除

func RemoveAllValueFloat64

func RemoveAllValueFloat64(slice []float64, target float64) ([]float64, bool)

按值删除

func RemoveAllValueInt

func RemoveAllValueInt(slice []int, target int) ([]int, bool)

按值删除

func RemoveAllValueInt16

func RemoveAllValueInt16(slice []int16, target int16) ([]int16, bool)

按值删除

func RemoveAllValueInt32

func RemoveAllValueInt32(slice []int32, target int32) ([]int32, bool)

按值删除

func RemoveAllValueInt64

func RemoveAllValueInt64(slice []int64, target int64) ([]int64, bool)

按值删除

func RemoveAllValueInt8

func RemoveAllValueInt8(slice []int8, target int8) ([]int8, bool)

按值删除

func RemoveAllValueString

func RemoveAllValueString(slice []string, target string) ([]string, bool)

按值删除

func RemoveAllValueT

func RemoveAllValueT(slice []interface{}, target interface{}) ([]interface{}, bool)

按值删除

func RemoveAllValueUint

func RemoveAllValueUint(slice []uint, target uint) ([]uint, bool)

按值删除

func RemoveAllValueUint16

func RemoveAllValueUint16(slice []uint16, target uint16) ([]uint16, bool)

按值删除

func RemoveAllValueUint32

func RemoveAllValueUint32(slice []uint32, target uint32) ([]uint32, bool)

按值删除

func RemoveAllValueUint64

func RemoveAllValueUint64(slice []uint64, target uint64) ([]uint64, bool)

按值删除

func RemoveAllValueUint8

func RemoveAllValueUint8(slice []uint8, target uint8) ([]uint8, bool)

按值删除

func RemoveAtComplex128

func RemoveAtComplex128(slice []complex128, pos int) ([]complex128, complex128, bool)

按点删除

func RemoveAtComplex64

func RemoveAtComplex64(slice []complex64, pos int) ([]complex64, complex64, bool)

按点删除

func RemoveAtFloat32

func RemoveAtFloat32(slice []float32, pos int) ([]float32, float32, bool)

按点删除

func RemoveAtFloat64

func RemoveAtFloat64(slice []float64, pos int) ([]float64, float64, bool)

按点删除

func RemoveAtInt

func RemoveAtInt(slice []int, pos int) ([]int, int, bool)

按点删除

func RemoveAtInt16

func RemoveAtInt16(slice []int16, pos int) ([]int16, int16, bool)

按点删除

func RemoveAtInt32

func RemoveAtInt32(slice []int32, pos int) ([]int32, int32, bool)

按点删除

func RemoveAtInt64

func RemoveAtInt64(slice []int64, pos int) ([]int64, int64, bool)

按点删除

func RemoveAtInt8

func RemoveAtInt8(slice []int8, pos int) ([]int8, int8, bool)

按点删除

func RemoveAtString

func RemoveAtString(slice []string, pos int) ([]string, string, bool)

按点删除

func RemoveAtT

func RemoveAtT(slice []interface{}, pos int) ([]interface{}, interface{}, bool)

按点删除

func RemoveAtUint

func RemoveAtUint(slice []uint, pos int) ([]uint, uint, bool)

按点删除

func RemoveAtUint16

func RemoveAtUint16(slice []uint16, pos int) ([]uint16, uint16, bool)

按点删除

func RemoveAtUint32

func RemoveAtUint32(slice []uint32, pos int) ([]uint32, uint32, bool)

按点删除

func RemoveAtUint64

func RemoveAtUint64(slice []uint64, pos int) ([]uint64, uint64, bool)

按点删除

func RemoveAtUint8

func RemoveAtUint8(slice []uint8, pos int) ([]uint8, uint8, bool)

按点删除

func RemoveFromComplex128

func RemoveFromComplex128(slice []complex128, startPos int, length int) (result []complex128, removed []complex128, ok bool)

删除区间

func RemoveFromComplex64

func RemoveFromComplex64(slice []complex64, startPos int, length int) (result []complex64, removed []complex64, ok bool)

删除区间

func RemoveFromFloat32

func RemoveFromFloat32(slice []float32, startPos int, length int) (result []float32, removed []float32, ok bool)

删除区间

func RemoveFromFloat64

func RemoveFromFloat64(slice []float64, startPos int, length int) (result []float64, removed []float64, ok bool)

删除区间

func RemoveFromInt

func RemoveFromInt(slice []int, startPos int, length int) (result []int, removed []int, ok bool)

删除区间

func RemoveFromInt16

func RemoveFromInt16(slice []int16, startPos int, length int) (result []int16, removed []int16, ok bool)

删除区间

func RemoveFromInt32

func RemoveFromInt32(slice []int32, startPos int, length int) (result []int32, removed []int32, ok bool)

删除区间

func RemoveFromInt64

func RemoveFromInt64(slice []int64, startPos int, length int) (result []int64, removed []int64, ok bool)

删除区间

func RemoveFromInt8

func RemoveFromInt8(slice []int8, startPos int, length int) (result []int8, removed []int8, ok bool)

删除区间

func RemoveFromString

func RemoveFromString(slice []string, startPos int, length int) (result []string, removed []string, ok bool)

删除区间

func RemoveFromT

func RemoveFromT(slice []interface{}, startPos int, length int) (result []interface{}, removed []interface{}, ok bool)

删除区间

func RemoveFromUint

func RemoveFromUint(slice []uint, startPos int, length int) (result []uint, removed []uint, ok bool)

删除区间

func RemoveFromUint16

func RemoveFromUint16(slice []uint16, startPos int, length int) (result []uint16, removed []uint16, ok bool)

删除区间

func RemoveFromUint32

func RemoveFromUint32(slice []uint32, startPos int, length int) (result []uint32, removed []uint32, ok bool)

删除区间

func RemoveFromUint64

func RemoveFromUint64(slice []uint64, startPos int, length int) (result []uint64, removed []uint64, ok bool)

删除区间

func RemoveFromUint8

func RemoveFromUint8(slice []uint8, startPos int, length int) (result []uint8, removed []uint8, ok bool)

删除区间

func RemoveHeadComplex128

func RemoveHeadComplex128(slice []complex128) ([]complex128, complex128, bool)

删除头

func RemoveHeadComplex64

func RemoveHeadComplex64(slice []complex64) ([]complex64, complex64, bool)

删除头

func RemoveHeadFloat32

func RemoveHeadFloat32(slice []float32) ([]float32, float32, bool)

删除头

func RemoveHeadFloat64

func RemoveHeadFloat64(slice []float64) ([]float64, float64, bool)

删除头

func RemoveHeadInt

func RemoveHeadInt(slice []int) ([]int, int, bool)

删除头

func RemoveHeadInt16

func RemoveHeadInt16(slice []int16) ([]int16, int16, bool)

删除头

func RemoveHeadInt32

func RemoveHeadInt32(slice []int32) ([]int32, int32, bool)

删除头

func RemoveHeadInt64

func RemoveHeadInt64(slice []int64) ([]int64, int64, bool)

删除头

func RemoveHeadInt8

func RemoveHeadInt8(slice []int8) ([]int8, int8, bool)

删除头

func RemoveHeadString

func RemoveHeadString(slice []string) ([]string, string, bool)

删除头

func RemoveHeadT

func RemoveHeadT(slice []interface{}) ([]interface{}, interface{}, bool)

删除头

func RemoveHeadUint

func RemoveHeadUint(slice []uint) ([]uint, uint, bool)

删除头

func RemoveHeadUint16

func RemoveHeadUint16(slice []uint16) ([]uint16, uint16, bool)

删除头

func RemoveHeadUint32

func RemoveHeadUint32(slice []uint32) ([]uint32, uint32, bool)

删除头

func RemoveHeadUint64

func RemoveHeadUint64(slice []uint64) ([]uint64, uint64, bool)

删除头

func RemoveHeadUint8

func RemoveHeadUint8(slice []uint8) ([]uint8, uint8, bool)

删除头

func RemoveRangeComplex128

func RemoveRangeComplex128(slice []complex128, startPos int, endPos int) (result []complex128, removed []complex128, ok bool)

删除区间

func RemoveRangeComplex64

func RemoveRangeComplex64(slice []complex64, startPos int, endPos int) (result []complex64, removed []complex64, ok bool)

删除区间

func RemoveRangeFloat32

func RemoveRangeFloat32(slice []float32, startPos int, endPos int) (result []float32, removed []float32, ok bool)

删除区间

func RemoveRangeFloat64

func RemoveRangeFloat64(slice []float64, startPos int, endPos int) (result []float64, removed []float64, ok bool)

删除区间

func RemoveRangeInt

func RemoveRangeInt(slice []int, startPos int, endPos int) (result []int, removed []int, ok bool)

删除区间

func RemoveRangeInt16

func RemoveRangeInt16(slice []int16, startPos int, endPos int) (result []int16, removed []int16, ok bool)

删除区间

func RemoveRangeInt32

func RemoveRangeInt32(slice []int32, startPos int, endPos int) (result []int32, removed []int32, ok bool)

删除区间

func RemoveRangeInt64

func RemoveRangeInt64(slice []int64, startPos int, endPos int) (result []int64, removed []int64, ok bool)

删除区间

func RemoveRangeInt8

func RemoveRangeInt8(slice []int8, startPos int, endPos int) (result []int8, removed []int8, ok bool)

删除区间

func RemoveRangeString

func RemoveRangeString(slice []string, startPos int, endPos int) (result []string, removed []string, ok bool)

删除区间

func RemoveRangeT

func RemoveRangeT(slice []interface{}, startPos int, endPos int) (result []interface{}, removed []interface{}, ok bool)

删除区间

func RemoveRangeUint

func RemoveRangeUint(slice []uint, startPos int, endPos int) (result []uint, removed []uint, ok bool)

删除区间

func RemoveRangeUint16

func RemoveRangeUint16(slice []uint16, startPos int, endPos int) (result []uint16, removed []uint16, ok bool)

删除区间

func RemoveRangeUint32

func RemoveRangeUint32(slice []uint32, startPos int, endPos int) (result []uint32, removed []uint32, ok bool)

删除区间

func RemoveRangeUint64

func RemoveRangeUint64(slice []uint64, startPos int, endPos int) (result []uint64, removed []uint64, ok bool)

删除区间

func RemoveRangeUint8

func RemoveRangeUint8(slice []uint8, startPos int, endPos int) (result []uint8, removed []uint8, ok bool)

删除区间

func RemoveTailComplex128

func RemoveTailComplex128(slice []complex128) ([]complex128, complex128, bool)

删除尾

func RemoveTailComplex64

func RemoveTailComplex64(slice []complex64) ([]complex64, complex64, bool)

删除尾

func RemoveTailFloat32

func RemoveTailFloat32(slice []float32) ([]float32, float32, bool)

删除尾

func RemoveTailFloat64

func RemoveTailFloat64(slice []float64) ([]float64, float64, bool)

删除尾

func RemoveTailInt

func RemoveTailInt(slice []int) ([]int, int, bool)

删除尾

func RemoveTailInt1

func RemoveTailInt1(slice []int16) ([]int16, int16, bool)

删除尾

func RemoveTailInt32

func RemoveTailInt32(slice []int32) ([]int32, int32, bool)

删除尾

func RemoveTailInt64

func RemoveTailInt64(slice []int64) ([]int64, int64, bool)

删除尾

func RemoveTailInt8

func RemoveTailInt8(slice []int8) ([]int8, int8, bool)

删除尾

func RemoveTailString

func RemoveTailString(slice []string) ([]string, string, bool)

删除尾

func RemoveTailT

func RemoveTailT(slice []interface{}) ([]interface{}, interface{}, bool)

删除尾

func RemoveTailUint

func RemoveTailUint(slice []uint) ([]uint, uint, bool)

删除尾

func RemoveTailUint16

func RemoveTailUint16(slice []uint16) ([]uint16, uint16, bool)

删除尾

func RemoveTailUint32

func RemoveTailUint32(slice []uint32) ([]uint32, uint32, bool)

删除尾

func RemoveTailUint64

func RemoveTailUint64(slice []uint64) ([]uint64, uint64, bool)

删除尾

func RemoveTailUint8

func RemoveTailUint8(slice []uint8) ([]uint8, uint8, bool)

删除尾

func RemoveValueComplex128

func RemoveValueComplex128(slice []complex128, target complex128) ([]complex128, bool)

按值删除

func RemoveValueComplex64

func RemoveValueComplex64(slice []complex64, target complex64) ([]complex64, bool)

按值删除

func RemoveValueFloat32

func RemoveValueFloat32(slice []float32, target float32) ([]float32, bool)

按值删除

func RemoveValueFloat64

func RemoveValueFloat64(slice []float64, target float64) ([]float64, bool)

按值删除

func RemoveValueInt

func RemoveValueInt(slice []int, target int) ([]int, bool)

按值删除

func RemoveValueInt16

func RemoveValueInt16(slice []int16, target int16) ([]int16, bool)

按值删除

func RemoveValueInt32

func RemoveValueInt32(slice []int32, target int32) ([]int32, bool)

按值删除

func RemoveValueInt64

func RemoveValueInt64(slice []int64, target int64) ([]int64, bool)

按值删除

func RemoveValueInt8

func RemoveValueInt8(slice []int8, target int8) ([]int8, bool)

按值删除

func RemoveValueString

func RemoveValueString(slice []string, target string) ([]string, bool)

按值删除

func RemoveValueT

func RemoveValueT(slice []interface{}, target interface{}) ([]interface{}, bool)

按值删除

func RemoveValueUint

func RemoveValueUint(slice []uint, target uint) ([]uint, bool)

按值删除

func RemoveValueUint16

func RemoveValueUint16(slice []uint16, target uint16) ([]uint16, bool)

按值删除

func RemoveValueUint32

func RemoveValueUint32(slice []uint32, target uint32) ([]uint32, bool)

按值删除

func RemoveValueUint64

func RemoveValueUint64(slice []uint64, target uint64) ([]uint64, bool)

按值删除

func RemoveValueUint8

func RemoveValueUint8(slice []uint8, target uint8) ([]uint8, bool)

按值删除

func ReverseComplex128

func ReverseComplex128(slice []complex128)

倒序

func ReverseComplex64

func ReverseComplex64(slice []complex64)

倒序

func ReverseFloat32

func ReverseFloat32(slice []float32)

倒序

func ReverseFloat64

func ReverseFloat64(slice []float64)

倒序

func ReverseInt

func ReverseInt(slice []int)

倒序

func ReverseInt16

func ReverseInt16(slice []int16)

倒序

func ReverseInt32

func ReverseInt32(slice []int32)

倒序

func ReverseInt64

func ReverseInt64(slice []int64)

倒序

func ReverseInt8

func ReverseInt8(slice []int8)

倒序

func ReverseString

func ReverseString(slice []string)

倒序

func ReverseT

func ReverseT(slice []interface{})

倒序

func ReverseUint

func ReverseUint(slice []uint)

倒序

func ReverseUint16

func ReverseUint16(slice []uint16)

倒序

func ReverseUint32

func ReverseUint32(slice []uint32)

倒序

func ReverseUint64

func ReverseUint64(slice []uint64)

倒序

func ReverseUint8

func ReverseUint8(slice []uint8)

倒序

func SumFloat32

func SumFloat32(slice []float32) float32

求和

func SumFloat64

func SumFloat64(slice []float64) float64

求和

func SumInt

func SumInt(slice []int) int

求和

func SumInt16

func SumInt16(slice []int16) int16

求和

func SumInt32

func SumInt32(slice []int32) int32

求和

func SumInt64

func SumInt64(slice []int64) int64

求和

func SumInt8

func SumInt8(slice []int8) int8

求和

func SumUint

func SumUint(slice []uint) uint

求和

func SumUint16

func SumUint16(slice []uint16) uint16

求和

func SumUint32

func SumUint32(slice []uint32) uint32

求和

func SumUint64

func SumUint64(slice []uint64) uint64

求和

func SumUint8

func SumUint8(slice []uint8) uint8

求和

func Uint64ToUint

func Uint64ToUint(source []uint64) []uint

func UintToUint64

func UintToUint64(source []uint) []uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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