[缓存]实现按照目录刷新缓存

This commit is contained in:
刘祥超
2020-12-23 21:28:50 +08:00
parent 1ea63ab8c6
commit ba9e8b7680
8 changed files with 66 additions and 7 deletions

View File

@@ -185,7 +185,7 @@ func TestMemoryStorage_Purge(t *testing.T) {
ExpiredAt: expiredAt,
})
}
err := storage.Purge([]string{"abc", "abc1"})
err := storage.Purge([]string{"abc", "abc1"}, "")
if err != nil {
t.Fatal(err)
}