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 an implementation of ISet using the builtin map type. Set is threadsafe.
func New ¶
func New(items ...interface{}) *Set
New is the constructor for sets. It will pull from a reuseable memory pool if it can. Takes a list of items to initialize the set with.
func (*Set) Add ¶
func (set *Set) Add(items ...interface{})
Add will add the provided items to the set.
Click to show internal directories.
Click to hide internal directories.