Skip to content

Commit 7f18a5e

Browse files
committed
Merge pull request astaxie#333 from sxmad/master
Update 02.6.md
2 parents de801a3 + eb45636 commit 7f18a5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebook/02.6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ interface类型定义了一组方法,如果某个对象实现了某个接口
142142
mike := Student{Human{"Mike", 25, "222-222-XXX"}, "MIT", 0.00}
143143
paul := Student{Human{"Paul", 26, "111-222-XXX"}, "Harvard", 100}
144144
sam := Employee{Human{"Sam", 36, "444-222-XXX"}, "Golang Inc.", 1000}
145-
Tom := Employee{Human{"Sam", 36, "444-222-XXX"}, "Things Ltd.", 5000}
145+
Tom := Employee{Human{"Tom", 37, "222-444-XXX"}, "Things Ltd.", 5000}
146146

147147
//定义Men类型的变量i
148148
var i Men

0 commit comments

Comments
 (0)