set

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 0 Imported by: 1

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]) ToSlice

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

Jump to

Keyboard shortcuts

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