slice

package
v0.0.0-...-fc17aaa Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsInt32

func ContainsInt32(data []int32, val int32) bool

func ContainsInt64

func ContainsInt64(data []int64, val int64) bool

func ContainsUint32

func ContainsUint32(data []uint32, val uint32) bool

func Int32ToInt64

func Int32ToInt64(data []int32) []int64

func Int32ToUint32

func Int32ToUint32(data []int32) []uint32

func Int64ToInt32

func Int64ToInt32(data []int64) []int32

func Int64ToUint32

func Int64ToUint32(data []int64) []uint32

func LastIndex

func LastIndex(index int, length int) int

func NextIndex

func NextIndex(index int, length int) int

func RemoveRepeatedForString

func RemoveRepeatedForString(s []string) []string

通过map键的唯一性去重

func RemoveStringRepeatedByString

func RemoveStringRepeatedByString(slice, repeatedSlice []string) []string

返回第一列表不包含第二个列表内容

func SortInt32

func SortInt32(data []int32)

func SortInt64

func SortInt64(data []int64)

func SortUint32

func SortUint32(data []uint32)

func Uint32ToInt32

func Uint32ToInt32(data []uint32) []int32

func Uint32ToInt64

func Uint32ToInt64(data []uint32) []int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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