go-pattern-examples/behavior/26_option/README.md
2020-04-27 17:17:36 +08:00

4 lines
151 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 说明
Option模式又称傻瓜模式,常常用于参数传递一般常常与New模式配合使用用于初始化的一个对象的外部参数.