slice

package
v0.0.0-...-ac0283c Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Concat

func Concat(a, b []int64, distinct bool) []int64

func Contains

func Contains(arr interface{}, item interface{}) bool

Contains for now, only item of same type is supported.

func Filter

func Filter(arr []int64, meet func(int64) bool) []int64

func IntSliceToString

func IntSliceToString(arr []int64, sep string) string

func SameDistinctElements

func SameDistinctElements(a, b []interface{}) bool

func Subtract

func Subtract(a, b []int64) []int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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