set

package
v0.0.0-...-33dfd9e Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Intersect

func Intersect[T comparable](left, right []T) []T

func Keys

func Keys[Key comparable, Value any](incoming map[Key]Value) []Key

func Member

func Member[T comparable](set []T, candidate T) bool

func Membership

func Membership[T comparable](set []T) map[T]bool

func Set

func Set[T comparable](incoming []T) []T

func Sort

func Sort[T comparable](set []T) []T

func Union

func Union[T comparable](left, right []T) []T

func Update

func Update[T comparable](set []T, candidate T) ([]T, bool)

func Values

func Values[Key, Value comparable](incoming map[Key]Value) []Value

func With

func With[T comparable](incoming ...T) []T

Types

This section is empty.

Jump to

Keyboard shortcuts

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