slice

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(s interface{}, elem interface{}, options ...bool) interface{}

By default, the first element matched when traversing slices is deleted; If options has a value of true, all matching elements are deleted.

func DeleteBool

func DeleteBool(s []bool, elem bool, options ...bool) []bool

func DeleteByte

func DeleteByte(s []byte, elem byte, options ...bool) []byte

func DeleteFloat32

func DeleteFloat32(s []float32, elem float32, options ...bool) []float32

func DeleteFloat64

func DeleteFloat64(s []float64, elem float64, options ...bool) []float64

func DeleteInt

func DeleteInt(s []int, elem int, options ...bool) []int

func DeleteInt16

func DeleteInt16(s []int16, elem int16, options ...bool) []int16

func DeleteInt32

func DeleteInt32(s []int32, elem int32, options ...bool) []int32

func DeleteInt64

func DeleteInt64(s []int64, elem int64, options ...bool) []int64

func DeleteInt8

func DeleteInt8(s []int8, elem int8, options ...bool) []int8

func DeleteRune

func DeleteRune(s []rune, elem rune, options ...bool) []rune

func DeleteString

func DeleteString(s []string, elem string, options ...bool) []string

func DeleteUint16

func DeleteUint16(s []uint16, elem uint16, options ...bool) []uint16

func DeleteUint32

func DeleteUint32(s []uint32, elem uint32, options ...bool) []uint32

func DeleteUint64

func DeleteUint64(s []uint64, elem uint64, options ...bool) []uint64

func DeleteUint8

func DeleteUint8(s []uint8, elem uint8, options ...bool) []uint8

Types

This section is empty.

Jump to

Keyboard shortcuts

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