arrayhelper

package
v0.1.41 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayChunk added in v0.0.10

func ArrayChunk[T int64 | string](arr []T, step int64) (segmens [][]T)

func ArrayChunkInt64

func ArrayChunkInt64(arr []int64, step int64) (segmens [][]int64)

func ArrayUnique added in v0.1.1

func ArrayUnique[T int | int64 | string](arr []T) (dst []T)

func InArray added in v0.1.13

func InArray(arr []string, val string) bool

func Int64ToStingArray

func Int64ToStingArray(arr []int64) (idStr []string)

func StringToInt64Array added in v0.1.5

func StringToInt64Array(arr []string) (vals []int64)

func StringToIntArray added in v0.1.5

func StringToIntArray(arr []string) (vals []int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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