sliceutils

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(src []interface{}, test interface{}) bool

func ContainsDeep

func ContainsDeep(src []interface{}, test interface{}) bool

func ConvertAny2Interface

func ConvertAny2Interface(src interface{}) ([]interface{}, error)

func IndexOf

func IndexOf(element string, data []string) int

func IndexOfAny

func IndexOfAny(target interface{}, anySlice interface{}) (int, error)

func InterfaceSlice2StringSlice

func InterfaceSlice2StringSlice(strSlice []interface{}) []string

func IsEmpty

func IsEmpty(src interface{}) bool

func StringContains

func StringContains(src []string, test string) bool

func StringSlice2InterfaceSlice

func StringSlice2InterfaceSlice(strSlice []string) []interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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