实现open file cache

This commit is contained in:
GoEdgeLab
2022-01-12 21:09:00 +08:00
parent 938278725e
commit 77aa8fe93c
12 changed files with 553 additions and 144 deletions

View File

@@ -0,0 +1,14 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
package linkedlist
type Item struct {
prev *Item
next *Item
Value interface{}
}
func NewItem(value interface{}) *Item {
return &Item{Value: value}
}