From 9f4478c668aff32c8185761c3a5c19615e98306c Mon Sep 17 00:00:00 2001 From: marjune Date: Thu, 11 Jul 2019 12:12:24 +0800 Subject: [PATCH] Update 11.9.md (#654) --- eBook/11.9.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eBook/11.9.md b/eBook/11.9.md index c3aa0a7..62c03e5 100644 --- a/eBook/11.9.md +++ b/eBook/11.9.md @@ -156,7 +156,7 @@ var interfaceSlice []interface{} = dataSlice 可惜不能这么做,编译时会出错:`cannot use dataSlice (type []myType) as type []interface { } in assignment`。 -原因是它们俩在内存中的布局是不一样的(参考 [官方说明](http://golang.org/doc/go_spec.html))。 +原因是它们俩在内存中的布局是不一样的(参考 [Go wiki](https://github.com/golang/go/wiki/InterfaceSlice))。 必须使用 `for-range` 语句来一个一个显式地复制: