slice

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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) ChunkBool

func (Tool) ChunkBool(s []bool, size int) ([][]bool, error)

ChunkBool

func (Tool) ChunkByte

func (Tool) ChunkByte(s []byte, size int) ([][]byte, error)

ChunkByte

func (Tool) ChunkComplex128

func (Tool) ChunkComplex128(s []complex128, size int) ([][]complex128, error)

ChunkComplex128

func (Tool) ChunkComplex64

func (Tool) ChunkComplex64(s []complex64, size int) ([][]complex64, error)

ChunkComplex64

func (Tool) ChunkFloat32

func (Tool) ChunkFloat32(s []float32, size int) ([][]float32, error)

ChunkFloat32

func (Tool) ChunkFloat64

func (Tool) ChunkFloat64(s []float64, size int) ([][]float64, error)

ChunkFloat64

func (Tool) ChunkInt

func (Tool) ChunkInt(s []int, size int) ([][]int, error)

ChunkInt

func (Tool) ChunkInt16

func (Tool) ChunkInt16(s []int16, size int) ([][]int16, error)

ChunkInt16

func (Tool) ChunkInt32

func (Tool) ChunkInt32(s []int32, size int) ([][]int32, error)

ChunkInt32

func (Tool) ChunkInt64

func (Tool) ChunkInt64(s []int64, size int) ([][]int64, error)

ChunkInt64

func (Tool) ChunkInt8

func (Tool) ChunkInt8(s []int8, size int) ([][]int8, error)

ChunkInt

func (Tool) ChunkRune

func (Tool) ChunkRune(s []rune, size int) ([][]rune, error)

ChunkRune

func (Tool) ChunkString

func (Tool) ChunkString(s []string, size int) ([][]string, error)

ChunkString

func (Tool) ChunkUint

func (Tool) ChunkUint(s []uint, size int) ([][]uint, error)

ChunkUint

func (Tool) ChunkUint16

func (Tool) ChunkUint16(s []uint16, size int) ([][]uint16, error)

ChunkUint16

func (Tool) ChunkUint32

func (Tool) ChunkUint32(s []uint32, size int) ([][]uint32, error)

ChunkUint32

func (Tool) ChunkUint64

func (Tool) ChunkUint64(s []uint64, size int) ([][]uint64, error)

ChunkUint64

func (Tool) ChunkUint8

func (Tool) ChunkUint8(s []uint8, size int) ([][]uint8, error)

ChunkUint8

func (Tool) ChunkUintPtr

func (Tool) ChunkUintPtr(s []uintptr, size int) ([][]uintptr, error)

ChunkUintPtr

func (Tool) ContainsBool

func (Tool) ContainsBool(s []bool, x bool) bool

ContainsBool

func (Tool) ContainsByte

func (Tool) ContainsByte(s []byte, x byte) bool

ContainsByte

func (Tool) ContainsComplex128

func (Tool) ContainsComplex128(s []complex128, x complex128) bool

ContainsComplex128

func (Tool) ContainsComplex64

func (Tool) ContainsComplex64(s []complex64, x complex64) bool

ContainsComplex64

func (Tool) ContainsFloat32

func (Tool) ContainsFloat32(s []float32, x float32) bool

ContainsFloat32

func (Tool) ContainsFloat64

func (Tool) ContainsFloat64(s []float64, x float64) bool

ContainsFloat64

func (Tool) ContainsInt

func (Tool) ContainsInt(s []int, x int) bool

ContainsInt

func (Tool) ContainsInt16

func (Tool) ContainsInt16(s []int16, x int16) bool

ContainsInt16

func (Tool) ContainsInt32

func (Tool) ContainsInt32(s []int32, x int32) bool

ContainsInt32

func (Tool) ContainsInt64

func (Tool) ContainsInt64(s []int64, x int64) bool

ContainsInt64

func (Tool) ContainsInt8

func (Tool) ContainsInt8(s []int8, x int8) bool

ContainsInt8

func (Tool) ContainsRune

func (Tool) ContainsRune(s []rune, x rune) bool

ContainsRune

func (Tool) ContainsString

func (Tool) ContainsString(s []string, x string) bool

ContainsString

func (Tool) ContainsUint

func (Tool) ContainsUint(s []uint, x uint) bool

ContainsUint

func (Tool) ContainsUint16

func (Tool) ContainsUint16(s []uint16, x uint16) bool

ContainsUint16

func (Tool) ContainsUint32

func (Tool) ContainsUint32(s []uint32, x uint32) bool

ContainsUint32

func (Tool) ContainsUint64

func (Tool) ContainsUint64(s []uint64, x uint64) bool

ContainsUint64

func (Tool) ContainsUint8

func (Tool) ContainsUint8(s []uint8, x uint8) bool

ContainsUint8

func (Tool) ContainsUintPtr

func (Tool) ContainsUintPtr(s []uintptr, x uintptr) bool

ContainsUintPtr

func (Tool) DiffBool

func (Tool) DiffBool(s1 []bool, s2 ...[]bool) []bool

DiffBool

func (Tool) DiffByte

func (Tool) DiffByte(s1 []byte, s2 ...[]byte) []byte

DiffByte

func (Tool) DiffComplex128

func (Tool) DiffComplex128(s1 []complex128, s2 ...[]complex128) []complex128

DiffComplex128

func (Tool) DiffComplex64

func (Tool) DiffComplex64(s1 []complex64, s2 ...[]complex64) []complex64

DiffComplex64

func (Tool) DiffFloat32

func (Tool) DiffFloat32(s1 []float32, s2 ...[]float32) []float32

DiffFloat32

func (Tool) DiffFloat64

func (Tool) DiffFloat64(s1 []float64, s2 ...[]float64) []float64

DiffFloat64

func (Tool) DiffInt

func (Tool) DiffInt(s1 []int, s2 ...[]int) []int

DiffInt

func (Tool) DiffInt16

func (Tool) DiffInt16(s1 []int16, s2 ...[]int16) []int16

DiffInt16

func (Tool) DiffInt32

func (Tool) DiffInt32(s1 []int32, s2 ...[]int32) []int32

DiffInt32

func (Tool) DiffInt64

func (Tool) DiffInt64(s1 []int64, s2 ...[]int64) []int64

DiffInt64

func (Tool) DiffInt8

func (Tool) DiffInt8(s1 []int8, s2 ...[]int8) []int8

DiffInt8

func (Tool) DiffRune

func (Tool) DiffRune(s1 []rune, s2 ...[]rune) []rune

DiffRune

func (Tool) DiffString

func (Tool) DiffString(s1 []string, s2 ...[]string) []string

DiffString

func (Tool) DiffUint

func (Tool) DiffUint(s1 []uint, s2 ...[]uint) []uint

DiffUint

func (Tool) DiffUint16

func (Tool) DiffUint16(s1 []uint16, s2 ...[]uint16) []uint16

DiffUint16

func (Tool) DiffUint32

func (Tool) DiffUint32(s1 []uint32, s2 ...[]uint32) []uint32

DiffUint32

func (Tool) DiffUint64

func (Tool) DiffUint64(s1 []uint64, s2 ...[]uint64) []uint64

DiffUint64

func (Tool) DiffUint8

func (Tool) DiffUint8(s1 []uint8, s2 ...[]uint8) []uint8

DiffUint8

func (Tool) DiffUintPtr

func (Tool) DiffUintPtr(s1 []uintptr, s2 ...[]uintptr) []uintptr

DiffUintPtr

func (Tool) InsertBool

func (Tool) InsertBool(s *[]bool, x bool, p int) error

InsertBool p position

func (Tool) InsertByte

func (Tool) InsertByte(s *[]byte, x byte, p int) error

InsertByte p position

func (Tool) InsertComplex128

func (Tool) InsertComplex128(s *[]complex128, x complex128, p int) error

InsertComplex128 p position

func (Tool) InsertComplex64

func (Tool) InsertComplex64(s *[]complex64, x complex64, p int) error

InsertComplex64 p position

func (Tool) InsertFloat32

func (Tool) InsertFloat32(s *[]float32, x float32, p int) error

InsertFloat32 p position

func (Tool) InsertFloat64

func (Tool) InsertFloat64(s *[]float64, x float64, p int) error

InsertFloat64 p position

func (Tool) InsertInt

func (Tool) InsertInt(s *[]int, x int, p int) error

InsertInt p position

func (Tool) InsertInt16

func (Tool) InsertInt16(s *[]int16, x int16, p int) error

InsertInt16 p position

func (Tool) InsertInt32

func (Tool) InsertInt32(s *[]int32, x int32, p int) error

InsertInt32 p position

func (Tool) InsertInt64

func (Tool) InsertInt64(s *[]int64, x int64, p int) error

InsertInt64 p position

func (Tool) InsertInt8

func (Tool) InsertInt8(s *[]int8, x int8, p int) error

InsertInt8 p position

func (Tool) InsertRune

func (Tool) InsertRune(s *[]rune, x rune, p int) error

InsertRune p position

func (Tool) InsertString

func (Tool) InsertString(s *[]string, x string, p int) error

InsertString p position

func (Tool) InsertUint

func (Tool) InsertUint(s *[]uint, x uint, p int) error

InsertUint p position

func (Tool) InsertUint16

func (Tool) InsertUint16(s *[]uint16, x uint16, p int) error

InsertUint16 p position

func (Tool) InsertUint32

func (Tool) InsertUint32(s *[]uint32, x uint32, p int) error

InsertUint32 p position

func (Tool) InsertUint64

func (Tool) InsertUint64(s *[]uint64, x uint64, p int) error

InsertUint64 p position

func (Tool) InsertUint8

func (Tool) InsertUint8(s *[]uint8, x uint8, p int) error

InsertUint8 p position

func (Tool) InsertUintPtr

func (Tool) InsertUintPtr(s *[]uintptr, x uintptr, p int) error

InsertUintPtr p position

func (Tool) IntersectBool

func (Tool) IntersectBool(s1 []bool, s2 ...[]bool) []bool

IntersectBool

func (Tool) IntersectByte

func (Tool) IntersectByte(s1 []byte, s2 ...[]byte) []byte

IntersectByte

func (Tool) IntersectComplex128

func (Tool) IntersectComplex128(s1 []complex128, s2 ...[]complex128) []complex128

IntersectComplex128

func (Tool) IntersectComplex64

func (Tool) IntersectComplex64(s1 []complex64, s2 ...[]complex64) []complex64

IntersectComplex64

func (Tool) IntersectFloat32

func (Tool) IntersectFloat32(s1 []float32, s2 ...[]float32) []float32

IntersectFloat32

func (Tool) IntersectFloat64

func (Tool) IntersectFloat64(s1 []float64, s2 ...[]float64) []float64

IntersectFloat32

func (Tool) IntersectInt

func (Tool) IntersectInt(s1 []int, s2 ...[]int) []int

IntersectInt

func (Tool) IntersectInt16

func (Tool) IntersectInt16(s1 []int16, s2 ...[]int16) []int16

IntersectInt16

func (Tool) IntersectInt32

func (Tool) IntersectInt32(s1 []int32, s2 ...[]int32) []int32

IntersectInt32

func (Tool) IntersectInt64

func (Tool) IntersectInt64(s1 []int64, s2 ...[]int64) []int64

IntersectInt64

func (Tool) IntersectInt8

func (Tool) IntersectInt8(s1 []int8, s2 ...[]int8) []int8

IntersectInt8

func (Tool) IntersectRune

func (Tool) IntersectRune(s1 []rune, s2 ...[]rune) []rune

IntersectRune

func (Tool) IntersectString

func (Tool) IntersectString(s1 []string, s2 ...[]string) []string

IntersectString

func (Tool) IntersectUint

func (Tool) IntersectUint(s1 []uint, s2 ...[]uint) []uint

IntersectUint

func (Tool) IntersectUint16

func (Tool) IntersectUint16(s1 []uint16, s2 ...[]uint16) []uint16

IntersectUint16

func (Tool) IntersectUint32

func (Tool) IntersectUint32(s1 []uint32, s2 ...[]uint32) []uint32

IntersectUint32

func (Tool) IntersectUint64

func (Tool) IntersectUint64(s1 []uint64, s2 ...[]uint64) []uint64

IntersectUint64

func (Tool) IntersectUint8

func (Tool) IntersectUint8(s1 []uint8, s2 ...[]uint8) []uint8

IntersectUint8

func (Tool) IntersectUintPtr

func (Tool) IntersectUintPtr(s1 []uintptr, s2 ...[]uintptr) []uintptr

IntersectUintPtr

func (Tool) UniqueBool

func (Tool) UniqueBool(s []bool) ([]bool, error)

UniqueBool

func (Tool) UniqueByte

func (Tool) UniqueByte(s []byte) ([]byte, error)

UniqueByte

func (Tool) UniqueComplex128

func (Tool) UniqueComplex128(s []complex128) ([]complex128, error)

UniqueComplex128

func (Tool) UniqueComplex64

func (Tool) UniqueComplex64(s []complex64) ([]complex64, error)

UniqueComplex64

func (Tool) UniqueFloat32

func (Tool) UniqueFloat32(s []float32) ([]float32, error)

UniqueFloat32

func (Tool) UniqueFloat64

func (Tool) UniqueFloat64(s []float64) ([]float64, error)

UniqueFloat64

func (Tool) UniqueInt

func (Tool) UniqueInt(s []int) ([]int, error)

UniqueInt

func (Tool) UniqueInt16

func (Tool) UniqueInt16(s []int16) ([]int16, error)

UniqueInt

func (Tool) UniqueInt32

func (Tool) UniqueInt32(s []int32) ([]int32, error)

UniqueInt32

func (Tool) UniqueInt64

func (Tool) UniqueInt64(s []int64) ([]int64, error)

UniqueInt64

func (Tool) UniqueInt8

func (Tool) UniqueInt8(s []int8) ([]int8, error)

UniqueInt8

func (Tool) UniqueRune

func (Tool) UniqueRune(s []rune) ([]rune, error)

UniqueRune

func (Tool) UniqueString

func (Tool) UniqueString(s []string) ([]string, error)

UniqueString

func (Tool) UniqueUint

func (Tool) UniqueUint(s []uint) ([]uint, error)

UniqueUint

func (Tool) UniqueUint16

func (Tool) UniqueUint16(s []uint16) ([]uint16, error)

UniqueUint16

func (Tool) UniqueUint32

func (Tool) UniqueUint32(s []uint32) ([]uint32, error)

UniqueUint32

func (Tool) UniqueUint64

func (Tool) UniqueUint64(s []uint64) ([]uint64, error)

UniqueUint64

func (Tool) UniqueUint8

func (Tool) UniqueUint8(s []uint8) ([]uint8, error)

UniqueUint8

func (Tool) UniqueUintPtr

func (Tool) UniqueUintPtr(s []uintptr) ([]uintptr, error)

UniqueUintPtr

Jump to

Keyboard shortcuts

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