array

package
v1.1.19 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contain added in v1.1.5

func Contain(obj interface{}, target interface{}) (bool, error)

func InIntArray

func InIntArray(s int, arr []int) bool

InIntArray 判断元素是否包含

func InStrArray

func InStrArray(s string, arr []string) bool

InStrArray 判断元素是否包含

func Int64ArrToInString

func Int64ArrToInString(i64 []int64) string

int64 change string

func IntArrToInString

func IntArrToInString(i []int) string

int 转 string

func RemoveDuplicateInt added in v1.1.0

func RemoveDuplicateInt(arr []int) (newArr []int)

func RemoveDuplicateInt64 added in v1.1.0

func RemoveDuplicateInt64(arr []int64) (newArr []int64)

func RemoveDuplicateStr added in v1.1.0

func RemoveDuplicateStr(arr []string) (newArr []string)

func ReverseInt added in v1.1.0

func ReverseInt(l []int)

func ReverseInt64 added in v1.1.0

func ReverseInt64(l []int64)

func ReverseStr added in v1.1.0

func ReverseStr(l []string)

func StringArrToInString

func StringArrToInString(s []string) string

string arr change int

Types

This section is empty.

Jump to

Keyboard shortcuts

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