mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 03:06:41 +08:00
Fix link in 11.12
This commit is contained in:
@@ -287,7 +287,7 @@ type ReaderWriter struct {
|
|||||||
|
|
||||||
稍微改变练习 11.9,允许 `mapFunc` 接收不定数量的 items。
|
稍微改变练习 11.9,允许 `mapFunc` 接收不定数量的 items。
|
||||||
|
|
||||||
**练习 11.13**:[main_stack.go—stack/stack_general.go](exercises/chapter_11/main_stack.go—stack/stack_general.go):
|
**练习 11.13**:[main_stack.go](exercises/chapter_11/main_stack.go)—[stack/stack_general.go](exercises/chapter_11/stack/stack_general.go):
|
||||||
|
|
||||||
在练习 10.10 和 10.11 中我们开发了一些栈结构类型。但是它们被限制为某种固定的内建类型。现在用一个元素类型是 interface{}(空接口)的切片开发一个通用的栈类型。
|
在练习 10.10 和 10.11 中我们开发了一些栈结构类型。但是它们被限制为某种固定的内建类型。现在用一个元素类型是 interface{}(空接口)的切片开发一个通用的栈类型。
|
||||||
|
|
||||||
@@ -310,4 +310,4 @@ Pop() (x interface{}, error)
|
|||||||
|
|
||||||
- [目录](directory.md)
|
- [目录](directory.md)
|
||||||
- 上一节:[Printf 和反射](11.11.md)
|
- 上一节:[Printf 和反射](11.11.md)
|
||||||
- 下一节:[总结:Go 中的面向对象](11.13.md)
|
- 下一节:[总结:Go 中的面向对象](11.13.md)
|
||||||
|
Reference in New Issue
Block a user