fixup! Update go.mod and go.sum

This commit is contained in:
2024-06-28 00:40:58 +01:00
parent 43c62d85dd
commit f8a7b8ad83
3 changed files with 9 additions and 3 deletions
+6
View File
@@ -20,6 +20,7 @@ func BenchmarkCacheLookupInMemory(b *testing.B) {
Client: libpack_cache_memory.New(5 * time.Minute),
TTL: 5,
}
EnableCache(config)
hash := "00000000000000000000000000000000001337"
data := []byte("it's fine.")
@@ -46,6 +47,8 @@ func BenchmarkCacheLookupRedis(b *testing.B) {
Client: mockedCache,
TTL: 5,
}
config.Redis.Enable = true
EnableCache(config)
hash := "00000000000000000000000000000000001337"
data := []byte("it's fine.")
@@ -67,6 +70,7 @@ func BenchmarkCacheStoreInMemory(b *testing.B) {
Client: libpack_cache_memory.New(5 * time.Minute),
TTL: 5,
}
EnableCache(config)
hash := "00000000000000000000000000000000001337"
data := []byte("it's fine.")
@@ -92,6 +96,8 @@ func BenchmarkCacheStoreRedis(b *testing.B) {
Client: mockedCache,
TTL: 5,
}
config.Redis.Enable = true
EnableCache(config)
hash := "00000000000000000000000000000000001337"
data := []byte("it's fine.")