arr

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvResponse

func ConvResponse(b []byte) string

func ConvertUTF8

func ConvertUTF8(c io.Reader, contentType string) (bytes.Buffer, error)

func DeleteSliceValue

func DeleteSliceValue(list []string, value string) []string

DeleteSliceValue 删除切片里指定的值

func DeleteSliceValueToLower

func DeleteSliceValueToLower(list []string, value string) []string

DeleteSliceValueToLower 删除切片里指定的值

func FuzzContainToLower

func FuzzContainToLower(sl []string, v string) bool

FuzzContainToLower 数组模糊包含

func IntSliceContains

func IntSliceContains(sl []int, v int) bool

IntSliceContains int数组是否包含指定数据

func IntSliceRemoveDuplicates

func IntSliceRemoveDuplicates(slice []int) (result []int)

IntSliceRemoveDuplicates 去除int数组重复项

func IsContain

func IsContain(sl []string, v string) bool

IsContain 数组是否包含指定数据

func IsContainByUrl

func IsContainByUrl(sl []string, v string) bool

func IsContainToLower

func IsContainToLower(sl []string, v string) bool

IsContainToLower 不区分大小写

func SliceRemoveDuplicates

func SliceRemoveDuplicates(slice []string) (result []string)

SliceRemoveDuplicates 去除string数组重复项

Types

This section is empty.

Jump to

Keyboard shortcuts

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