geecach 项目的测试文件 Bug 反馈
作者: SaltedFish555创建于 2025年1月17日更新于 2025年5月8日
在 gee-cache/day1-lru/geecache/lru/lru_test.go 中的 20-21 行,如果 lru.Get("key2") 的返回值为 nil,则 ok 为 false,表示没有命中缓存。
内容来源: geektutu/7days-golang
在 gee-cache/day1-lru/geecache/lru/lru_test.go 中的 20-21 行,如果 lru.Get("key2") 的返回值为 nil,则 ok 为 false,表示没有命中缓存。
内容来源: geektutu/7days-golang