array

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DistinctInt32Array

func DistinctInt32Array(arr []int32) []int32

func DistinctInt64Array

func DistinctInt64Array(arr []int64) []int64

func DistinctIntArray

func DistinctIntArray(array []int) []int

func DistinctStringArray

func DistinctStringArray(arr []string) []string

func InArrayInt

func InArrayInt(search int, slice []int) bool

func InArrayInt32

func InArrayInt32(search int32, slice []int32) bool

func InArrayInt64

func InArrayInt64(search int64, slice []int64) bool

func InArrayString

func InArrayString(search string, slice []string) bool

func Int32ArrayToIntArray

func Int32ArrayToIntArray(a []int32) []int

func Int32ToIntArr

func Int32ToIntArr(input []int32) []int

func Int64ToIntArr

func Int64ToIntArr(input []int64) []int

func IntMap

func IntMap(slice []int) map[int]bool

func JoinIntArr

func JoinIntArr(arr []int, separator string) string

func ToInt32Array

func ToInt32Array(input []int) []int32

ToInt32Array WARNING: 精度丢失

Types

This section is empty.

Jump to

Keyboard shortcuts

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