Add chapter 17.x (#697)

* improve chapter 15.12

* add chapter 17.2

* add chapter 17.3

* add chapter 17.4
This commit is contained in:
marjune
2019-07-28 10:26:44 +08:00
committed by ᴊ. ᴄʜᴇɴ
parent 4cf547665e
commit 9be772e9bb
8 changed files with 189 additions and 9 deletions

9
eBook/17.3.md Normal file
View File

@@ -0,0 +1,9 @@
# 可见性模式
我们在 [4.2.1节](04.2.md) 见过简单地使用可见性规则控制对类型成员的访问,他们可以是 Go 变量或函数。[10.2.1节](10.2.md) 展示了如何在单独的包中定义类型时,强制使用工厂函数。
## 链接
- [目录](directory.md)
- 上一节:[defer 模式](17.2.md)
- 下一节:[运算符模式和接口](17.4.md)