misc

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: MIT Imports: 3 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 struct {
	// contains filtered or unexported fields
}

Set is a helper type for storing unique values in a map.

func NewSet

func NewSet() *Set

NewSet returns an empty sets map.

func (*Set) Set

func (st *Set) Set(key string)

Set adds a value to the sets maps.

func (*Set) String

func (st *Set) String() string

String returns the sets map as a comma-separated string.

Jump to

Keyboard shortcuts

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