array

package
v2.0.0+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayInt2Str

func ArrayInt2Str(data []int) []string

[]int => []string

func ArrayStr2Int

func ArrayStr2Int(data []string) []int

[]string => []int

func DeleteArray

func DeleteArray(src []interface{}, index int) (result []interface{})

删除数组

func IntInArray

func IntInArray(num int, data []int) bool

str in int list

func MergeArray

func MergeArray(dest []interface{}, src []interface{}) (result []interface{})

合并数组

func StrInArray

func StrInArray(str string, data []string) bool

str in string list

func TrimSpaceStrInArray

func TrimSpaceStrInArray(str string, data []string) bool

str[TrimSpace] in string list

Types

This section is empty.

Jump to

Keyboard shortcuts

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