Documentation ¶ Index ¶ type ISet func NewSet() ISet Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type ISet ¶ type ISet interface { // Add item to set. Add(item interface{}) bool // Remove item from set and return success or not. Remove(item interface{}) bool // Convert to a slice. ToSlice() []interface{} } ISet interface func NewSet ¶ func NewSet() ISet NewSet create an empty set. Source Files ¶ View all Source files set.go Click to show internal directories. Click to hide internal directories.