Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DependsOn ¶
DependsOn returns true if k1 depends on k2 based on dependencies from <deps>.
func ProtoToString ¶
ProtoToString converts proto message to string.
Types ¶
type KeySet ¶
type KeySet map[string]struct{}
KeySet is a set of keys.
func NewKeySet ¶
NewKeySet returns a new instance of empty KeySet.
func (KeySet) DeepCopy ¶
DeepCopy returns a deep-copy of the key set.
func (KeySet) Has ¶
Has returns true if the given key is in the set.
func (KeySet) Intersect ¶
Intersect returns a new key set that contains keys present in both sets.
func (KeySet) String ¶
String return human-readable string representation of the ket-set.
Source Files
¶
- conversions.go
- dependencies.go
- keyset.go
Click to show internal directories.
Click to hide internal directories.