Design Patterns in Golang - Study Notes on Refining Design Patterns
• Mediator pattern (08)
单例模式singleton
这里是不是写错了
单例模式中singleton结构体字段为空,多次赋值instance值是一样的
The Prototype pattern: potential type mismatches
No comments yet. Be the first to share.