Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcretePrototype ¶
type ConcretePrototype struct {
Name string
}
具体原型类
func (*ConcretePrototype) Clone ¶
func (p *ConcretePrototype) Clone() Prototype
Clone 创建一个ConcretePrototype类的克隆新实例
Click to show internal directories.
Click to hide internal directories.