set

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffSet

func DiffSet(source, target []interface{}) (diff []interface{})

差集

func InterSet

func InterSet(source, target []interface{}) (inter []interface{})

交集

func ItemInSlice

func ItemInSlice(item interface{}, target []interface{}) (flag bool)

元素是否在切片中

func SuppleSet

func SuppleSet(source, target []interface{}) (sup []interface{})

补集 非共同元素

func UnionSet

func UnionSet(source, target []interface{}) (union []interface{})

并集

Types

This section is empty.

Jump to

Keyboard shortcuts

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