Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdapterPhone ¶
type AdapterPhone struct {
// contains filtered or unexported fields
}
func NewPhone ¶
func NewPhone(v V5) *AdapterPhone
func (*AdapterPhone) Charge ¶
func (p *AdapterPhone) Charge()
type ChinaShopping ¶
type ChinaShopping struct{}
func (*ChinaShopping) Buy ¶
func (cs *ChinaShopping) Buy(good *Goods)
type MoDecorator ¶
type MoDecorator struct {
Decorator
}
func (*MoDecorator) Show ¶
func (md *MoDecorator) Show()
type SubSystemA ¶
type SubSystemA struct{}
func (*SubSystemA) MethodA ¶
func (sa *SubSystemA) MethodA()
type SubSystemB ¶
type SubSystemB struct{}
func (*SubSystemB) MethodB ¶
func (sb *SubSystemB) MethodB()
type SubSystemC ¶
type SubSystemC struct{}
func (*SubSystemC) MethodC ¶
func (sb *SubSystemC) MethodC()
Click to show internal directories.
Click to hide internal directories.