Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToInterfaceSlice ¶
func ToInterfaceSlice(slice interface{}) []interface{}
Types ¶
type IntSet ¶ added in v0.2.13
type IntSet struct {
// contains filtered or unexported fields
}
IntSet the set of Ints
func (*IntSet) Add ¶ added in v0.2.13
Add adds a new element to the Set. Returns a pointer to the Set.
func (*IntSet) Clear ¶ added in v0.2.13
func (s *IntSet) Clear()
Clear removes all elements from the Set
type StringSet ¶ added in v0.2.13
type StringSet struct {
// contains filtered or unexported fields
}
StringSet the set of Strings
func NewStringSet ¶ added in v0.2.14
func NewStringSet() *StringSet
func (*StringSet) Add ¶ added in v0.2.13
Add adds a new element to the Set. Returns a pointer to the Set.
func (*StringSet) Clear ¶ added in v0.2.13
func (s *StringSet) Clear()
Clear removes all elements from the Set
func (*StringSet) Delete ¶ added in v0.2.13
Delete removes the string from the Set and returns Has(string)
Click to show internal directories.
Click to hide internal directories.