collection

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 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 StringSet

type StringSet map[string]struct{}

StringSet is a simple implementeation of the Set data structure. An empty struct allegedly takes zero memory

func (StringSet) Add

func (ss StringSet) Add(s string)

func (StringSet) Has

func (ss StringSet) Has(s string) bool

func (StringSet) Remove

func (ss StringSet) Remove(s string)

func (StringSet) Slice

func (ss StringSet) Slice() []string

Jump to

Keyboard shortcuts

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