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 set of strings that is comparable with == and !=. The zero value is a valid and empty set.
func (Set) Cardinality ¶
Cardinality returns the number of elements in s. It is more efficient than computing the length of the slice returned by ToSlice.
func (Set) MarshalJSON ¶
func (*Set) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.