valset

package
v0.0.0-...-ba58dea Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set[T comparable] map[T]struct{}

func From

func From[T comparable](values ...T) Set[T]

func FromSeq

func FromSeq[T comparable](it iter.Seq[T]) Set[T]

func FromSlice

func FromSlice[T comparable](s []T) Set[T]

func Make

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

func (Set[T]) Del

func (s Set[T]) Del(value T)

func (Set[T]) Has

func (s Set[T]) Has(val T) bool

func (Set[T]) Put

func (s Set[T]) Put(value T)

Jump to

Keyboard shortcuts

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