array

package
v0.0.0-...-7e3dfe9 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsExistRepeatInArray

func IsExistRepeatInArray(array []string) (exist bool)

IsExistRepeatInArray *

  • @Description: 数组中是否存在重复对象
  • @param array
  • @return exist

func IsStrArrayExistArray

func IsStrArrayExistArray(array []string, str string) (exist bool)

IsStrArrayExistArray *

  • @Description: 字符串数组是否包含字符串
  • @param array
  • @param str
  • @return exist

func RemoveEmptyStrInArray

func RemoveEmptyStrInArray(array []string) (answer []string)

RemoveEmptyStrInArray *

  • @Description: 移除
  • @param array
  • @return answer

func StrArrayDiffSet

func StrArrayDiffSet(a []string, b []string) []string

StrArrayDiffSet *

  • @Description: 获取两个切片差集
  • @param a
  • @param b
  • @return []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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