arrays

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(arr interface{}, item interface{}) (index int)

Contains returns the index of item in arr

func ContainsInt

func ContainsInt(arr []int, val int) (index int)

ContainsInt returns the index of val in arr

func ContainsInt64

func ContainsInt64(arr []int64, val int64) (index int)

ContainsInt64 returns the index of val in arr

func ContainsString

func ContainsString(arr []string, val string) (index int)

ContainsString returns the index of val in arr

func ContainsUInt64

func ContainsUInt64(arr []uint64, val uint64) (index int)

ContainsUInt64 returns the index of val in arr

func IntEqual

func IntEqual(a, b []int) bool

IntEqual []int equal

func StringEqual

func StringEqual(a, b []string) bool

StringEqual []string equal

Types

This section is empty.

Jump to

Keyboard shortcuts

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