mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-11-13 09:16:10 +08:00
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:
9
eBook/17.3.md
Normal file
9
eBook/17.3.md
Normal 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)
|
||||
Reference in New Issue
Block a user