From 582b133df3ae7b300b510500fd5f215aa3368e81 Mon Sep 17 00:00:00 2001 From: fognome Date: Mon, 10 Dec 2018 11:27:45 +0800 Subject: [PATCH] fix: ch1-04 typo --- ch1-basic/ch1-04-func-method-interface.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch1-basic/ch1-04-func-method-interface.md b/ch1-basic/ch1-04-func-method-interface.md index 97f6811..3d0c795 100644 --- a/ch1-basic/ch1-04-func-method-interface.md +++ b/ch1-basic/ch1-04-func-method-interface.md @@ -279,7 +279,7 @@ Read(0, data) Close() ``` -Go语言不仅支持传统面向对象中的继承特性,而是以自己特有的组合方式支持了方法的继承。Go语言中,通过在结构体内置匿名的成员来实现继承: +Go语言不支持传统面向对象中的继承特性,而是以自己特有的组合方式支持了方法的继承。Go语言中,通过在结构体内置匿名的成员来实现继承: ```go import "image/color"