Handle evictions properly when cache is empty.

This commit is contained in:
2023-08-27 18:01:16 -07:00
parent 6fbdece4be
commit b92e16fa4d
4 changed files with 23 additions and 10 deletions

2
go.mod
View File

@@ -1,3 +1,5 @@
module git.wntrmute.dev/kyle/go-mru
go 1.17
require github.com/benbjohnson/clock v1.3.5