Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDecorator ¶
type AddDecorator struct {
Component
// contains filtered or unexported fields
}
func (*AddDecorator) Calc ¶
func (d *AddDecorator) Calc() int
type Component ¶
type Component interface {
Calc() int
}
func WarpAddDecorator ¶
func WarpMulDecorator ¶
type ConcreteComponent ¶
type ConcreteComponent struct{}
func (*ConcreteComponent) Calc ¶
func (*ConcreteComponent) Calc() int
type MulDecorator ¶
type MulDecorator struct {
Component
// contains filtered or unexported fields
}
func (*MulDecorator) Calc ¶
func (d *MulDecorator) Calc() int
Click to show internal directories.
Click to hide internal directories.