This website requires JavaScript.
Explore
Help
Sign In
mirror
/
go-pattern-examples
Watch
1
Star
0
Fork
0
You've already forked go-pattern-examples
mirror of
https://github.com/crazybber/go-pattern-examples.git
synced
2024-11-23 04:16:02 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
68e5a3b5e3
go-pattern-examples
/
creation
/
04_factory_method
/
README.md
Edward
68e5a3b5e3
init design pattern codes
2020-04-21 22:53:23 +08:00
157 B
Raw
Blame
History
工厂方法模式
工厂方法模式使用子类的方式延迟生成对象到子类中实现。
Go中不存在继承 所以使用匿名组合来实现