Skip to content

Commit

Permalink
docs: accurate translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Telunsu committed Sep 5, 2020
1 parent 2019e9b commit 3a55d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2337,7 +2337,7 @@ type Client struct {
- 允许用户观察或控制类型内部。
- 通过包装的方式改变内部函数的一般行为,这种包装方式会给用户带来一些意料之外情况。

简单地说,有意识地和有意识地嵌入。一种很好的测试体验是,
简单地说,有意识地和有目的地嵌入。一种很好的测试体验是,
"是否所有这些导出的内部方法/字段都将直接添加到外部类型"
如果答案是`some``no`,不要嵌入内部类型-而是使用字段。

Expand Down

0 comments on commit 3a55d1d

Please sign in to comment.