Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Component ¶
type Component interface {
Operation() string
}
Component represents the base component interface.
type ConcreteComponent ¶
type ConcreteComponent struct{}
ConcreteComponent represents a concrete implementation of the component interface.
func (*ConcreteComponent) Operation ¶
func (c *ConcreteComponent) Operation() string
type ConcreteDecoratorA ¶
type ConcreteDecoratorA struct {
// contains filtered or unexported fields
}
ConcreteDecoratorA represents a concrete decorator implementation.
func (*ConcreteDecoratorA) Operation ¶
func (d *ConcreteDecoratorA) Operation() string
type ConcreteDecoratorB ¶
type ConcreteDecoratorB struct {
// contains filtered or unexported fields
}
ConcreteDecoratorB represents another concrete decorator implementation.
func (*ConcreteDecoratorB) Operation ¶
func (d *ConcreteDecoratorB) Operation() string
Click to show internal directories.
Click to hide internal directories.