Documentation ¶
Overview ¶
name package offers a suite of interfaces and structs, allowing uniform naming/identification of entities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identifiable ¶
Identifiable offers an interface for anything needing an identifier
type IdentifiableContainer ¶
type IdentifiableContainer struct {
// contains filtered or unexported fields
}
IdentifiableContainer is a struct offering a default implementation of Identifiable
func (*IdentifiableContainer) Id ¶
func (n *IdentifiableContainer) Id() string
func (*IdentifiableContainer) SetId ¶
func (n *IdentifiableContainer) SetId(id string)
type NameContainer ¶
type NameContainer struct {
// contains filtered or unexported fields
}
ContainedLogger offers a default implementation of Nameable
func (*NameContainer) Name ¶
func (n *NameContainer) Name() string
func (*NameContainer) SetName ¶
func (n *NameContainer) SetName(name string)
Click to show internal directories.
Click to hide internal directories.