Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Set ¶
Set represents some properties of a mathematical set. Sets are finite and all elements are unique string values.
func Difference ¶
Difference returns a new Set populated with elements that appear in s1 but not in s2.
func Intersection ¶
Intersection constructs a new Set populated with the elements common to both s1 and s2
func NewFromSlice ¶
NewFromSlice constructs a new Set populated from elements of a slice.
Click to show internal directories.
Click to hide internal directories.