Update TwinProduction/gocache to v1.2.3

This commit is contained in:
TwinProduction
2021-06-18 09:56:49 -04:00
parent 0560b98de4
commit d03271d128
7 changed files with 24 additions and 23 deletions

View File

@ -120,8 +120,8 @@ func (cache *Cache) ReadFromFile(path string) (int, error) {
cache.tail = current
cache.head = current
} else {
previous.next = current
current.previous = previous
previous.previous = current
current.next = previous
cache.head = current
}
previous = entries[i]