array

package
v0.1.40 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMapFromInterface

func CreateMapFromInterface(i interface{}) (m bdb.M, err error)

func CreateStringSliceFromInterface

func CreateStringSliceFromInterface(i interface{}) (result []string, err error)

func InArrayInt

func InArrayInt(arr []int, s int) int

func InArrayString

func InArrayString(arr []string, s string) int

func InBothArraysString

func InBothArraysString(arr1, arr2 []string) bool

func IndexOfSortedStrings

func IndexOfSortedStrings(arr []string, s string) int

IndexOfSortedStrings searches for s in a sorted slice of strings and returns the index or -1 if not found

func StringArraysEquals

func StringArraysEquals(a, b []string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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