util

package
v0.0.0-...-e2f0dde Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasAllElements

func HasAllElements(arr1 []interface{}, arr2 []interface{}) bool

return true if the array arr1 contains all elements of array arr2

func InArray

func InArray(elem interface{}, arr []interface{}) bool

return true if the elem is in the array arr

func InStringArray

func InStringArray(elem string, arr []string) bool

func Intersection

func Intersection(arr1 []string, arr2 []string) map[string]bool

func IsSameStringArray

func IsSameStringArray(arr_1 []string, arr_2 []string) bool

func StringArrayToInterfaceArray

func StringArrayToInterfaceArray(arr []string) []interface{}

func Sub

func Sub(arr_1 []string, arr_2 []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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