srl-labs / containerlab

Exported function returning value of unexported type RVV-B0011
Anti-pattern
Critical
1 occurrence in this check
exported method Kind returns unexported type *kind_registry.nodeRegistryEntry, which can be annoying to use
 68	return result
 69}
 70
 71func (r *KindRegistry) Kind(kind string) *nodeRegistryEntry { 72	return r.nodeIndex[kind]
 73}
 74