Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringSet ¶
type StringSet map[string]emptyStruct
StringSet is a set of unique strings.
func NewStringSet ¶
func NewStringSet() StringSet
NewStringSet creates a new StringSet, pre-allocating a small starting size of memory.
func NewStringSetWithElements ¶
NewStringSetWithElements creates a new StringSet, pre-filled with all the given elements.
func NewStringSetWithSize ¶
NewStringSetWithSize creates a new StringSet, pre-allocating the specified starting size of memory.
Click to show internal directories.
Click to hide internal directories.