set

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 0 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[Key comparable] map[Key]struct{}

func New

func New[Key comparable]() Set[Key]

func (Set[Key]) Add

func (s Set[Key]) Add(key Key)

func (Set[Key]) ToArray

func (s Set[Key]) ToArray() []Key

Jump to

Keyboard shortcuts

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