Documentation
¶
Index ¶
- func Contains(arr interface{}, item interface{}) (index int)
- func ContainsInt(arr []int, val int) (index int)
- func ContainsInt64(arr []int64, val int64) (index int)
- func ContainsString(arr []string, val string) (index int)
- func ContainsUInt64(arr []uint64, val uint64) (index int)
- func IntEqual(a, b []int) bool
- func StringEqual(a, b []string) bool
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 ¶
ContainsInt returns the index of val in arr
func ContainsInt64 ¶
ContainsInt64 returns the index of val in arr
func ContainsString ¶
ContainsString returns the index of val in arr
func ContainsUInt64 ¶
ContainsUInt64 returns the index of val in arr
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.