← 返回卡片

原书出处

精通 Go(Mastering Go 中文版)

85 05.4.1 Go 语言实现哈希表

核验版本的摘录快照 · 导入于 2026-11-06T05:16:05.273Z

func traverse(hash *HashTable) { for k := range hash.Table { if hash.Table[k] != nil { t := hash.Table[k] for t != nil { fmt.Printf("%d -> ", t.Value)

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/精通 Go(Mastering Go 中文版)/_epub-src/05.4.1.html

EPUB SHA-256:0d52179a26f231568b311cf079e550da691bada67bb8d8be008b7940dd2c0848