package
Version:
v2.0.0-alpha1+incompat...
Opens a new window with list of versions in this module.
Published: Oct 27, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
StopIteration = errors.New("Stop iteration")
RemoveItem = errors.New("Remove item")
)
type Set interface {
Len() int
Add(interface{})
AddAll(itemArray interface{})
Discard(interface{})
Clear()
Contains(interface{}) bool
Iter(func(item interface{}) error)
Copy() Set
Equals(Set) bool
ContainsAll(Set) bool
}
func From(members ...interface{}) Set
func FromArray(membersArray interface{}) Set
Source Files
¶
Click to show internal directories.
Click to hide internal directories.