slice

package
v0.0.0-...-5f1ca4c Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString

func ContainsString(slice []string, s string, modifier func(s string) string) bool

ContainsString 判断是否存在s ,modifer 处理类似的

func CopyStringSlice

func CopyStringSlice(s []string) []string

CopyStringSlice 复制切片

func RemoveString

func RemoveString(slice []string, s string, modifier func(s string) string) []string

RemoveString 异常切片中的数据,modifer 是处理类似的

func SortStrings

func SortStrings(s []string) []string

SortStrings 排序

Types

This section is empty.

Jump to

Keyboard shortcuts

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