Well.. that escalated quickly.

Completely forgot that Traefik uses outdated Yaegi and requires compatibility with 1.20 ( pre-generic Go code ).
This commit is contained in:
2025-06-20 19:23:50 +01:00
parent 70443f0855
commit 667b4213fe
24 changed files with 439 additions and 374 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ func TestCache_SetMaxSize(t *testing.T) {
newMaxSize := 3
// Add more items than the new max size
for i := range originalMaxSize {
for i := 0; i < originalMaxSize; i++ {
key := "key" + string(rune('A'+i))
c.Set(key, i, 1*time.Hour)
}