gslice

package
v1.0.112 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MulanPSL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString

func ContainsString(arr []string, str string) bool

ContainsString 判断字符串是否在数组中

func RemoveDuplicate

func RemoveDuplicate(list []string) []string

RemoveDuplicate 去重

func RemoveString

func RemoveString(arr []string, str string) ([]string, bool)

RemoveString 移除数组中的某个字符串

Types

This section is empty.

Jump to

Keyboard shortcuts

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