mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 00:11:36 +08:00
Fix links to the code examples
Change-Id: I644c6a516abab2577353644c128102457deeb41a
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
如果想增加 slice 的容量,我们必须创建一个新的更大的 slice 并把原分片的内容都拷贝过来。下面的代码描述了从拷贝 slice 的 copy 方法和向 slice 追加新元素的 append 方法。
|
||||
|
||||
示例 7.12 [copy_append_slice.go](exmaples/chapter_7/copy_append_slice.go)
|
||||
示例 7.12 [copy_append_slice.go](examples/chapter_7/copy_append_slice.go)
|
||||
|
||||
package main
|
||||
import "fmt"
|
||||
|
Reference in New Issue
Block a user