Documentation ¶
Index ¶
- type Tool
- func (Tool) ChunkBool(s []bool, size int) ([][]bool, error)
- func (Tool) ChunkByte(s []byte, size int) ([][]byte, error)
- func (Tool) ChunkComplex128(s []complex128, size int) ([][]complex128, error)
- func (Tool) ChunkComplex64(s []complex64, size int) ([][]complex64, error)
- func (Tool) ChunkFloat32(s []float32, size int) ([][]float32, error)
- func (Tool) ChunkFloat64(s []float64, size int) ([][]float64, error)
- func (Tool) ChunkInt(s []int, size int) ([][]int, error)
- func (Tool) ChunkInt16(s []int16, size int) ([][]int16, error)
- func (Tool) ChunkInt32(s []int32, size int) ([][]int32, error)
- func (Tool) ChunkInt64(s []int64, size int) ([][]int64, error)
- func (Tool) ChunkInt8(s []int8, size int) ([][]int8, error)
- func (Tool) ChunkRune(s []rune, size int) ([][]rune, error)
- func (Tool) ChunkString(s []string, size int) ([][]string, error)
- func (Tool) ChunkUint(s []uint, size int) ([][]uint, error)
- func (Tool) ChunkUint16(s []uint16, size int) ([][]uint16, error)
- func (Tool) ChunkUint32(s []uint32, size int) ([][]uint32, error)
- func (Tool) ChunkUint64(s []uint64, size int) ([][]uint64, error)
- func (Tool) ChunkUint8(s []uint8, size int) ([][]uint8, error)
- func (Tool) ChunkUintPtr(s []uintptr, size int) ([][]uintptr, error)
- func (Tool) ContainsBool(s []bool, x bool) bool
- func (Tool) ContainsByte(s []byte, x byte) bool
- func (Tool) ContainsComplex128(s []complex128, x complex128) bool
- func (Tool) ContainsComplex64(s []complex64, x complex64) bool
- func (Tool) ContainsFloat32(s []float32, x float32) bool
- func (Tool) ContainsFloat64(s []float64, x float64) bool
- func (Tool) ContainsInt(s []int, x int) bool
- func (Tool) ContainsInt16(s []int16, x int16) bool
- func (Tool) ContainsInt32(s []int32, x int32) bool
- func (Tool) ContainsInt64(s []int64, x int64) bool
- func (Tool) ContainsInt8(s []int8, x int8) bool
- func (Tool) ContainsRune(s []rune, x rune) bool
- func (Tool) ContainsString(s []string, x string) bool
- func (Tool) ContainsUint(s []uint, x uint) bool
- func (Tool) ContainsUint16(s []uint16, x uint16) bool
- func (Tool) ContainsUint32(s []uint32, x uint32) bool
- func (Tool) ContainsUint64(s []uint64, x uint64) bool
- func (Tool) ContainsUint8(s []uint8, x uint8) bool
- func (Tool) ContainsUintPtr(s []uintptr, x uintptr) bool
- func (Tool) DiffBool(s1 []bool, s2 ...[]bool) []bool
- func (Tool) DiffByte(s1 []byte, s2 ...[]byte) []byte
- func (Tool) DiffComplex128(s1 []complex128, s2 ...[]complex128) []complex128
- func (Tool) DiffComplex64(s1 []complex64, s2 ...[]complex64) []complex64
- func (Tool) DiffFloat32(s1 []float32, s2 ...[]float32) []float32
- func (Tool) DiffFloat64(s1 []float64, s2 ...[]float64) []float64
- func (Tool) DiffInt(s1 []int, s2 ...[]int) []int
- func (Tool) DiffInt16(s1 []int16, s2 ...[]int16) []int16
- func (Tool) DiffInt32(s1 []int32, s2 ...[]int32) []int32
- func (Tool) DiffInt64(s1 []int64, s2 ...[]int64) []int64
- func (Tool) DiffInt8(s1 []int8, s2 ...[]int8) []int8
- func (Tool) DiffRune(s1 []rune, s2 ...[]rune) []rune
- func (Tool) DiffString(s1 []string, s2 ...[]string) []string
- func (Tool) DiffUint(s1 []uint, s2 ...[]uint) []uint
- func (Tool) DiffUint16(s1 []uint16, s2 ...[]uint16) []uint16
- func (Tool) DiffUint32(s1 []uint32, s2 ...[]uint32) []uint32
- func (Tool) DiffUint64(s1 []uint64, s2 ...[]uint64) []uint64
- func (Tool) DiffUint8(s1 []uint8, s2 ...[]uint8) []uint8
- func (Tool) DiffUintPtr(s1 []uintptr, s2 ...[]uintptr) []uintptr
- func (Tool) InsertBool(s *[]bool, x bool, p int) error
- func (Tool) InsertByte(s *[]byte, x byte, p int) error
- func (Tool) InsertComplex128(s *[]complex128, x complex128, p int) error
- func (Tool) InsertComplex64(s *[]complex64, x complex64, p int) error
- func (Tool) InsertFloat32(s *[]float32, x float32, p int) error
- func (Tool) InsertFloat64(s *[]float64, x float64, p int) error
- func (Tool) InsertInt(s *[]int, x int, p int) error
- func (Tool) InsertInt16(s *[]int16, x int16, p int) error
- func (Tool) InsertInt32(s *[]int32, x int32, p int) error
- func (Tool) InsertInt64(s *[]int64, x int64, p int) error
- func (Tool) InsertInt8(s *[]int8, x int8, p int) error
- func (Tool) InsertRune(s *[]rune, x rune, p int) error
- func (Tool) InsertString(s *[]string, x string, p int) error
- func (Tool) InsertUint(s *[]uint, x uint, p int) error
- func (Tool) InsertUint16(s *[]uint16, x uint16, p int) error
- func (Tool) InsertUint32(s *[]uint32, x uint32, p int) error
- func (Tool) InsertUint64(s *[]uint64, x uint64, p int) error
- func (Tool) InsertUint8(s *[]uint8, x uint8, p int) error
- func (Tool) InsertUintPtr(s *[]uintptr, x uintptr, p int) error
- func (Tool) IntersectBool(s1 []bool, s2 ...[]bool) []bool
- func (Tool) IntersectByte(s1 []byte, s2 ...[]byte) []byte
- func (Tool) IntersectComplex128(s1 []complex128, s2 ...[]complex128) []complex128
- func (Tool) IntersectComplex64(s1 []complex64, s2 ...[]complex64) []complex64
- func (Tool) IntersectFloat32(s1 []float32, s2 ...[]float32) []float32
- func (Tool) IntersectFloat64(s1 []float64, s2 ...[]float64) []float64
- func (Tool) IntersectInt(s1 []int, s2 ...[]int) []int
- func (Tool) IntersectInt16(s1 []int16, s2 ...[]int16) []int16
- func (Tool) IntersectInt32(s1 []int32, s2 ...[]int32) []int32
- func (Tool) IntersectInt64(s1 []int64, s2 ...[]int64) []int64
- func (Tool) IntersectInt8(s1 []int8, s2 ...[]int8) []int8
- func (Tool) IntersectRune(s1 []rune, s2 ...[]rune) []rune
- func (Tool) IntersectString(s1 []string, s2 ...[]string) []string
- func (Tool) IntersectUint(s1 []uint, s2 ...[]uint) []uint
- func (Tool) IntersectUint16(s1 []uint16, s2 ...[]uint16) []uint16
- func (Tool) IntersectUint32(s1 []uint32, s2 ...[]uint32) []uint32
- func (Tool) IntersectUint64(s1 []uint64, s2 ...[]uint64) []uint64
- func (Tool) IntersectUint8(s1 []uint8, s2 ...[]uint8) []uint8
- func (Tool) IntersectUintPtr(s1 []uintptr, s2 ...[]uintptr) []uintptr
- func (Tool) UniqueBool(s []bool) ([]bool, error)
- func (Tool) UniqueByte(s []byte) ([]byte, error)
- func (Tool) UniqueComplex128(s []complex128) ([]complex128, error)
- func (Tool) UniqueComplex64(s []complex64) ([]complex64, error)
- func (Tool) UniqueFloat32(s []float32) ([]float32, error)
- func (Tool) UniqueFloat64(s []float64) ([]float64, error)
- func (Tool) UniqueInt(s []int) ([]int, error)
- func (Tool) UniqueInt16(s []int16) ([]int16, error)
- func (Tool) UniqueInt32(s []int32) ([]int32, error)
- func (Tool) UniqueInt64(s []int64) ([]int64, error)
- func (Tool) UniqueInt8(s []int8) ([]int8, error)
- func (Tool) UniqueRune(s []rune) ([]rune, error)
- func (Tool) UniqueString(s []string) ([]string, error)
- func (Tool) UniqueUint(s []uint) ([]uint, error)
- func (Tool) UniqueUint16(s []uint16) ([]uint16, error)
- func (Tool) UniqueUint32(s []uint32) ([]uint32, error)
- func (Tool) UniqueUint64(s []uint64) ([]uint64, error)
- func (Tool) UniqueUint8(s []uint8) ([]uint8, error)
- func (Tool) UniqueUintPtr(s []uintptr) ([]uintptr, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tool ¶
type Tool struct { }
func NewSliceTool ¶
func NewSliceTool() *Tool
func (Tool) ChunkComplex128 ¶
func (Tool) ChunkComplex128(s []complex128, size int) ([][]complex128, error)
ChunkComplex128
func (Tool) ChunkComplex64 ¶
ChunkComplex64
func (Tool) ChunkFloat32 ¶
ChunkFloat32
func (Tool) ChunkFloat64 ¶
ChunkFloat64
func (Tool) ChunkString ¶
ChunkString
func (Tool) ChunkUint16 ¶
ChunkUint16
func (Tool) ChunkUint32 ¶
ChunkUint32
func (Tool) ChunkUint64 ¶
ChunkUint64
func (Tool) ChunkUintPtr ¶
ChunkUintPtr
func (Tool) ContainsComplex128 ¶
func (Tool) ContainsComplex128(s []complex128, x complex128) bool
ContainsComplex128
func (Tool) ContainsComplex64 ¶
ContainsComplex64
func (Tool) ContainsFloat32 ¶
ContainsFloat32
func (Tool) ContainsFloat64 ¶
ContainsFloat64
func (Tool) ContainsUintPtr ¶
ContainsUintPtr
func (Tool) DiffComplex128 ¶
func (Tool) DiffComplex128(s1 []complex128, s2 ...[]complex128) []complex128
DiffComplex128
func (Tool) DiffComplex64 ¶
DiffComplex64
func (Tool) DiffFloat32 ¶
DiffFloat32
func (Tool) DiffFloat64 ¶
DiffFloat64
func (Tool) DiffUintPtr ¶
DiffUintPtr
func (Tool) InsertBool ¶
InsertBool p position
func (Tool) InsertByte ¶
InsertByte p position
func (Tool) InsertComplex128 ¶
func (Tool) InsertComplex128(s *[]complex128, x complex128, p int) error
InsertComplex128 p position
func (Tool) InsertComplex64 ¶
InsertComplex64 p position
func (Tool) InsertFloat32 ¶
InsertFloat32 p position
func (Tool) InsertFloat64 ¶
InsertFloat64 p position
func (Tool) InsertInt16 ¶
InsertInt16 p position
func (Tool) InsertInt32 ¶
InsertInt32 p position
func (Tool) InsertInt64 ¶
InsertInt64 p position
func (Tool) InsertInt8 ¶
InsertInt8 p position
func (Tool) InsertRune ¶
InsertRune p position
func (Tool) InsertString ¶
InsertString p position
func (Tool) InsertUint ¶
InsertUint p position
func (Tool) InsertUint16 ¶
InsertUint16 p position
func (Tool) InsertUint32 ¶
InsertUint32 p position
func (Tool) InsertUint64 ¶
InsertUint64 p position
func (Tool) InsertUint8 ¶
InsertUint8 p position
func (Tool) InsertUintPtr ¶
InsertUintPtr p position
func (Tool) IntersectComplex128 ¶
func (Tool) IntersectComplex128(s1 []complex128, s2 ...[]complex128) []complex128
IntersectComplex128
func (Tool) IntersectComplex64 ¶
IntersectComplex64
func (Tool) IntersectFloat32 ¶
IntersectFloat32
func (Tool) IntersectFloat64 ¶
IntersectFloat32
func (Tool) IntersectInt16 ¶
IntersectInt16
func (Tool) IntersectInt32 ¶
IntersectInt32
func (Tool) IntersectInt64 ¶
IntersectInt64
func (Tool) IntersectString ¶
IntersectString
func (Tool) IntersectUint16 ¶
IntersectUint16
func (Tool) IntersectUint32 ¶
IntersectUint32
func (Tool) IntersectUint64 ¶
IntersectUint64
func (Tool) IntersectUint8 ¶
IntersectUint8
func (Tool) IntersectUintPtr ¶
IntersectUintPtr
func (Tool) UniqueComplex128 ¶
func (Tool) UniqueComplex128(s []complex128) ([]complex128, error)
UniqueComplex128
func (Tool) UniqueComplex64 ¶
UniqueComplex64