slice

package
v0.0.1-20220809-0010 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(slice interface{}, item interface{}) (bool, error)

func Includes

func Includes(slice interface{}, item interface{}) (bool, error)

func IndexExists

func IndexExists(slice interface{}, indexNr int) (bool, error)

func ItemExists

func ItemExists(slice interface{}, item interface{}) (bool, error)

func RemoveBool

func RemoveBool(slice []bool, el bool) []bool

func RemoveByIndexBool

func RemoveByIndexBool(slice []bool, index int, preserveOrder bool) []bool

func RemoveByIndexByte

func RemoveByIndexByte(slice []byte, index int, preserveOrder bool) []byte

func RemoveByIndexComplex128

func RemoveByIndexComplex128(slice []complex128, index int, preserveOrder bool) []complex128

func RemoveByIndexComplex64

func RemoveByIndexComplex64(slice []complex64, index int, preserveOrder bool) []complex64

func RemoveByIndexFloat32

func RemoveByIndexFloat32(slice []float32, index int, preserveOrder bool) []float32

func RemoveByIndexFloat64

func RemoveByIndexFloat64(slice []float64, index int, preserveOrder bool) []float64

func RemoveByIndexInt

func RemoveByIndexInt(slice []int, index int, preserveOrder bool) []int

func RemoveByIndexInt16

func RemoveByIndexInt16(slice []int16, index int, preserveOrder bool) []int16

func RemoveByIndexInt32

func RemoveByIndexInt32(slice []int32, index int, preserveOrder bool) []int32

func RemoveByIndexInt64

func RemoveByIndexInt64(slice []int64, index int, preserveOrder bool) []int64

func RemoveByIndexInt8

func RemoveByIndexInt8(slice []int8, index int, preserveOrder bool) []int8

func RemoveByIndexString

func RemoveByIndexString(slice []string, index int, preserveOrder bool) []string

func RemoveByIndexUint

func RemoveByIndexUint(slice []uint, index int, preserveOrder bool) []uint

func RemoveByIndexUint16

func RemoveByIndexUint16(slice []uint16, index int, preserveOrder bool) []uint16

func RemoveByIndexUint32

func RemoveByIndexUint32(slice []uint32, index int, preserveOrder bool) []uint32

func RemoveByIndexUint64

func RemoveByIndexUint64(slice []uint64, index int, preserveOrder bool) []uint64

func RemoveByIndexUint8

func RemoveByIndexUint8(slice []uint8, index int, preserveOrder bool) []uint8

func RemoveByte

func RemoveByte(slice []byte, el byte) []byte

func RemoveComplex128

func RemoveComplex128(slice []complex128, el complex128) []complex128

func RemoveComplex64

func RemoveComplex64(slice []complex64, el complex64) []complex64

func RemoveFloat32

func RemoveFloat32(slice []float32, el float32) []float32

func RemoveFloat64

func RemoveFloat64(slice []float64, el float64) []float64

func RemoveInt

func RemoveInt(slice []int, el int) []int

func RemoveInt16

func RemoveInt16(slice []int16, el int16) []int16

func RemoveInt32

func RemoveInt32(slice []int32, el int32) []int32

func RemoveInt64

func RemoveInt64(slice []int64, el int64) []int64

func RemoveInt8

func RemoveInt8(slice []int8, el int8) []int8

func RemoveString

func RemoveString(slice []string, el string) []string

func RemoveUint

func RemoveUint(slice []uint, el uint) []uint

func RemoveUint16

func RemoveUint16(slice []uint16, el uint16) []uint16

func RemoveUint32

func RemoveUint32(slice []uint32, el uint32) []uint32

func RemoveUint64

func RemoveUint64(slice []uint64, el uint64) []uint64

func RemoveUint8

func RemoveUint8(slice []uint8, el uint8) []uint8

Types

This section is empty.

Jump to

Keyboard shortcuts

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