fix: fix a lot of incorrect links (#849)

This commit is contained in:
Rethan
2022-06-25 18:18:09 +08:00
committed by GitHub
parent 8f1ca5772e
commit 7a54d34d36
28 changed files with 69 additions and 69 deletions

View File

@@ -274,7 +274,7 @@ type ReaderWriter struct {
**练习 11.11**[map_function_interface.go](exercises/chapter_11/map_function_interface.go)
在练习 7.13 中我们定义了一个 `map()` 函数来使用 `int` 切片 ([map_function.go](exercises\chapter_7\map_function.go))。
在练习 7.13 中我们定义了一个 `map()` 函数来使用 `int` 切片 ([map_function.go](exercises/chapter_7/map_function.go))。
通过空接口和类型断言,现在我们可以写一个可以应用于许多类型的*泛型*的 `map()` 函数,为 `int``string` 构建一个把 `int` 值加倍和将字符串值与其自身连接(译者注:即 `"abc"` 变成 `"abcabc"` )的 `map()` 函数 `mapFunc()`