misc

package
Version: v0.0.0-...-1aa49c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL