This website works better with JavaScript
홈
탐색
도움말
로그인
nice-repo-share
/
the-way-to-go_ZH_CN
의 미러
https://github.com/Unknwon/the-way-to-go_ZH_CN.git
Watch
2
Star
0
포크
0
파일
이슈
0
위키
트리:
9be772e9bb
브랜치
태그
master
the-way-to-go_Z...
/
eBook
/
17.3.md
17.3.md
380 B
히스토리
Raw
可见性模式
我们在
4.2.1节
见过简单地使用可见性规则控制对类型成员的访问,他们可以是 Go 变量或函数。
10.2.1节
展示了如何在单独的包中定义类型时,强制使用工厂函数。
链接
目录
上一节:
defer 模式
下一节:
运算符模式和接口