Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringSet ¶
type StringSet map[string]empty
StringSet is a set of strings, implemented via map[string]struct{} for minimal memory consumption.
func NewStringSet ¶
NewStringSet creates a StringSet from a list of values.
func StringKeySet ¶
func StringKeySet(theMap interface{}) StringSet
StringKeySet creates a StringSet from a keys of a map[string](? extends interface{}). If the value passed in is not actually a map, this will panic.
Click to show internal directories.
Click to hide internal directories.