1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 04:22:22 +00:00

fix: ch1-04 typo

This commit is contained in:
fognome 2018-12-10 11:27:45 +08:00 committed by GitHub
parent dc4b9a251c
commit 582b133df3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -279,7 +279,7 @@ Read(0, data)
Close()
```
Go语言不支持传统面向对象中的继承特性而是以自己特有的组合方式支持了方法的继承。Go语言中通过在结构体内置匿名的成员来实现继承
Go语言不支持传统面向对象中的继承特性而是以自己特有的组合方式支持了方法的继承。Go语言中通过在结构体内置匿名的成员来实现继承
```go
import "image/color"