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:
@@ -1,7 +1,7 @@
|
||||
#8.6 倒置map
|
||||
这里倒置是指调换key和value。如果map的值类型可以作为key且所有的value是唯一的,那么通过下面的方法可以简单的做到倒置:
|
||||
|
||||
示例 8.7 [invert_map.go](exmaples/chapter_8/invert_map.go)
|
||||
示例 8.7 [invert_map.go](examples/chapter_8/invert_map.go)
|
||||
|
||||
package main
|
||||
import (
|
||||
@@ -41,4 +41,4 @@
|
||||
##链接
|
||||
- [目录](directory.md)
|
||||
- 上一节:[map排序](08.5.md)
|
||||
- 下一节:[包](09.0.md)
|
||||
- 下一节:[包](09.0.md)
|
||||
|
Reference in New Issue
Block a user