slice

package
v3.2.7+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualInt

func EqualInt(a, b []int) bool

Equal tells whether a and b contain the same elements. A nil argument is equivalent to an empty slice.

func EqualUint32

func EqualUint32(a, b []uint32) bool

Equal tells whether a and b contain the same elements. A nil argument is equivalent to an empty slice.

func GetFirstNotNullElement

func GetFirstNotNullElement(slice []string, f FilterFunc) string

func IsExistSlice

func IsExistSlice(item interface{}, arr interface{}) (bool, int)

IsExistSlice tells whether item exist this slice

Types

type FilterFunc

type FilterFunc func(element string) bool

Jump to

Keyboard shortcuts

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