Skip to content

Commit 881f499

Browse files
committed
Merge pull request astaxie#133 from Itachish/patch-1
修改错别字
2 parents 70c8a55 + 0945f96 commit 881f499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2.5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ method的语法如下:
314314

315315
上面的代码设计的是如此的美妙,让人不自觉的为Go的设计惊叹!
316316

317-
通过这些内容,我们可以设计出基本的面向对象的程序了,但是Go里面的面向对象是如此的简单,没有任何的私有、共有关键字,通过大小写来实现(大写开头的为共有,小写开头的为私有),方法也同样适用这个原则。
317+
通过这些内容,我们可以设计出基本的面向对象的程序了,但是Go里面的面向对象是如此的简单,没有任何的私有、公有关键字,通过大小写来实现(大写开头的为共有,小写开头的为私有),方法也同样适用这个原则。
318318
## links
319319
* [目录](<preface.md>)
320320
* 上一章: [struct类型](<2.4.md>)

0 commit comments

Comments
 (0)