Documentation
¶
Index ¶
- func Contains(a []any, c any) bool
- func ContainsByte(a []byte, c byte) bool
- func ContainsFloat32(a []float32, c float32) bool
- func ContainsFloat64(a []float64, c float64) bool
- func ContainsInt(a []int, c int) bool
- func ContainsInt16(a []int16, c int16) bool
- func ContainsInt32(a []int32, c int32) bool
- func ContainsInt64(a []int64, c int64) bool
- func ContainsInt8(a []int8, c int8) bool
- func ContainsRune(a []rune, c rune) bool
- func ContainsString(a []string, c string) bool
- func ContainsUint(a []uint, c uint) bool
- func ContainsUint16(a []uint16, c uint16) bool
- func ContainsUint32(a []uint32, c uint32) bool
- func ContainsUint64(a []uint64, c uint64) bool
- func ContainsUint8(a []uint8, c uint8) bool
- func DeleteBytes(a []byte, i, j int) []byte
- func DeleteFloat32s(a []float32, i, j int) []float32
- func DeleteFloat64s(a []float64, i, j int) []float64
- func DeleteInt16s(a []int16, i, j int) []int16
- func DeleteInt32s(a []int32, i, j int) []int32
- func DeleteInt64s(a []int64, i, j int) []int64
- func DeleteInt8s(a []int8, i, j int) []int8
- func DeleteInts(a []int, i, j int) []int
- func DeleteRunes(a []rune, i, j int) []rune
- func DeleteStrings(a []string, i, j int) []string
- func DeleteUint16s(a []uint16, i, j int) []uint16
- func DeleteUint64s(a []uint64, i, j int) []uint64
- func DeleteUint8s(a []uint8, i, j int) []uint8
- func DeleteUints(a []uint, i, j int) []uint
- func Equal(a []any, b []any) bool
- func EqualBytes(a []byte, b []byte) bool
- func EqualFloat32s(a []float32, b []float32) bool
- func EqualFloat64s(a []float64, b []float64) bool
- func EqualInt16s(a []int16, b []int16) bool
- func EqualInt32s(a []int32, b []int32) bool
- func EqualInt64s(a []int64, b []int64) bool
- func EqualInt8s(a []int8, b []int8) bool
- func EqualInts(a []int, b []int) bool
- func EqualRunes(a []rune, b []rune) bool
- func EqualStrings(a []string, b []string) bool
- func EqualUint16s(a []uint16, b []uint16) bool
- func EqualUint32s(a []uint32, b []uint32) bool
- func EqualUint64s(a []uint64, b []uint64) bool
- func EqualUint8s(a []uint8, b []uint8) bool
- func EqualUints(a []uint, b []uint) bool
- func Get(a []any, i int) (v any, ok bool)
- func GetByte(a []byte, i int) (v byte, ok bool)
- func GetFloat32(a []float32, i int) (v float32, ok bool)
- func GetFloat64(a []float64, i int) (v float64, ok bool)
- func GetInt(a []int, i int) (v int, ok bool)
- func GetInt16(a []int16, i int) (v int16, ok bool)
- func GetInt32(a []int32, i int) (v int32, ok bool)
- func GetInt64(a []int64, i int) (v int64, ok bool)
- func GetInt8(a []int8, i int) (v int8, ok bool)
- func GetRune(a []rune, i int) (v rune, ok bool)
- func GetString(a []string, i int) (v string, ok bool)
- func GetUint(a []uint, i int) (v uint, ok bool)
- func GetUint16(a []uint16, i int) (v uint16, ok bool)
- func GetUint32(a []uint32, i int) (v uint32, ok bool)
- func GetUint64(a []uint64, i int) (v uint64, ok bool)
- func GetUint8(a []uint8, i int) (v uint8, ok bool)
- func Index(a []any, c any) int
- func IndexByte(a []byte, c byte) int
- func IndexFloat32(a []float32, c float32) int
- func IndexFloat64(a []float64, c float64) int
- func IndexInt(a []int, c int) int
- func IndexInt16(a []int16, c int16) int
- func IndexInt32(a []int32, c int32) int
- func IndexInt64(a []int64, c int64) int
- func IndexInt8(a []int8, c int8) int
- func IndexRune(a []rune, c rune) int
- func IndexString(a []string, c string) int
- func IndexUint(a []uint, c uint) int
- func IndexUint16(a []uint16, c uint16) int
- func IndexUint32(a []uint32, c uint32) int
- func IndexUint64(a []uint64, c uint64) int
- func IndexUint8(a []uint8, c uint8) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsByte ¶
ContainsByte reports whether the c is contained in the slice a.
func ContainsFloat32 ¶
ContainsFloat32 reports whether the c is contained in the slice a.
func ContainsFloat64 ¶
ContainsFloat64 reports whether the c is contained in the slice a.
func ContainsInt ¶
ContainsInt reports whether the c is contained in the slice a.
func ContainsInt16 ¶
ContainsInt16 reports whether the c is contained in the slice a.
func ContainsInt32 ¶
ContainsInt32 reports whether the c is contained in the slice a.
func ContainsInt64 ¶
ContainsInt64 reports whether the c is contained in the slice a.
func ContainsInt8 ¶
ContainsInt8 reports whether the c is contained in the slice a.
func ContainsRune ¶
ContainsRune reports whether the c is contained in the slice a.
func ContainsString ¶
ContainsString reports whether the c is contained in the slice a.
func ContainsUint ¶
ContainsUint reports whether the c is contained in the slice a.
func ContainsUint16 ¶
ContainsUint16 reports whether the c is contained in the slice a.
func ContainsUint32 ¶
ContainsUint32 reports whether the c is contained in the slice a.
func ContainsUint64 ¶
ContainsUint64 reports whether the c is contained in the slice a.
func ContainsUint8 ¶
ContainsUint8 reports whether the c is contained in the slice a.
func DeleteBytes ¶ added in v1.0.12
DeleteBytes removes the elements a[i:j] from a.
func DeleteFloat32s ¶ added in v1.0.12
DeleteFloat32s removes the elements a[i:j] from a.
func DeleteFloat64s ¶ added in v1.0.12
DeleteFloat64s removes the elements a[i:j] from a.
func DeleteInt16s ¶ added in v1.0.12
DeleteInt16s removes the elements a[i:j] from a.
func DeleteInt32s ¶ added in v1.0.12
DeleteInt32s removes the elements a[i:j] from a.
func DeleteInt64s ¶ added in v1.0.12
DeleteInt64s removes the elements a[i:j] from a.
func DeleteInt8s ¶ added in v1.0.12
DeleteInt8s removes the elements a[i:j] from a.
func DeleteInts ¶ added in v1.0.12
DeleteInts removes the elements a[i:j] from a.
func DeleteRunes ¶ added in v1.0.12
DeleteRunes removes the elements a[i:j] from a.
func DeleteStrings ¶ added in v1.0.12
DeleteStrings removes the elements a[i:j] from a.
func DeleteUint16s ¶ added in v1.0.12
DeleteUint16s removes the elements a[i:j] from a.
func DeleteUint64s ¶ added in v1.0.12
DeleteUint64s removes the elements a[i:j] from a.
func DeleteUint8s ¶ added in v1.0.12
DeleteUint8s removes the elements a[i:j] from a.
func DeleteUints ¶ added in v1.0.12
DeleteUints removes the elements a[i:j] from a.
func Equal ¶
Equal reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualBytes ¶
EqualBytes reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualFloat32s ¶
EqualFloat32s reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualFloat64s ¶
EqualFloat64s reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualInt16s ¶
EqualInt16s reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualInt32s ¶
EqualInt32s reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualInt64s ¶
EqualInt64s reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualInt8s ¶
EqualInt8s reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualInts ¶
EqualInts reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualRunes ¶
EqualRunes reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualStrings ¶
EqualStrings reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualUint16s ¶
EqualUint16s reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualUint32s ¶
EqualUint32s reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualUint64s ¶
EqualUint64s reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualUint8s ¶
EqualUint8s reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func EqualUints ¶
EqualUints reports whether a and b are the same length and contain the same element. A nil argument is equivalent to an empty slice.
func GetFloat32 ¶
GetFloat32 get element at the specified index i.
func GetFloat64 ¶
GetFloat64 get element at the specified index i.
func Index ¶
Index returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexByte ¶
IndexByte returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexFloat32 ¶
IndexFloat32 returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexFloat64 ¶
IndexFloat64 returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexInt ¶
IndexInt returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexInt16 ¶
IndexInt16 returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexInt32 ¶
IndexInt32 returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexInt64 ¶
IndexInt64 returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexInt8 ¶
IndexInt8 returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexRune ¶
IndexRune returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexString ¶
IndexString returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexUint ¶
IndexUint returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexUint16 ¶
IndexUint16 returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexUint32 ¶
IndexUint32 returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexUint64 ¶
IndexUint64 returns the index of the first instance of c in a, or -1 if c is not present in a.
func IndexUint8 ¶
IndexUint8 returns the index of the first instance of c in a, or -1 if c is not present in a.
Types ¶
This section is empty.