Documentation
¶
Index ¶
- type Set
- func (ss Set) Contains(scope string) bool
- func (ss Set) Equal(other Set) bool
- func (ss Set) Intersect(other Set) Set
- func (ss Set) IsEmpty() bool
- func (ss Set) IsSubset(other Set) bool
- func (ss Set) Len() int
- func (ss Set) Slice() []string
- func (ss Set) String() string
- func (ss Set) Union(other Set) Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set map[string]struct{}
Set is an unordered set of scope strings.
func Parse ¶
Parse splits a space-separated scope string into a Set. Empty input returns an empty (non-nil) set.
Click to show internal directories.
Click to hide internal directories.