Skip to content

Commit ba86a96

Browse files
committed
Merge pull request astaxie#202 from ernix/fix_typo
Fix typo: Emplyee => Employee
2 parents d3afa58 + e2fc048 commit ba86a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebook/02.5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ method的语法如下:
276276
}
277277

278278
### method重写
279-
上面的例子中,如果Emplyee想要实现自己的SayHi,怎么办?简单,和匿名字段冲突一样的道理,我们可以在Emplyee上面定义一个method,重写了匿名字段的方法。请看下面的例子
279+
上面的例子中,如果Employee想要实现自己的SayHi,怎么办?简单,和匿名字段冲突一样的道理,我们可以在Employee上面定义一个method,重写了匿名字段的方法。请看下面的例子
280280

281281
package main
282282
import "fmt"

0 commit comments

Comments
 (0)