Initialize cached in singleton

This commit is contained in:
Ettore Di Giacinto 2021-02-16 18:47:33 +01:00
parent fd7405c2cc
commit 92e73051a0

View File

@ -32,6 +32,7 @@ var DBInMemoryInstance = &InMemoryDatabase{
CacheNoVersion: map[string]map[string]interface{}{},
ProvidesDatabase: map[string]map[string]Package{},
RevDepsDatabase: map[string]map[string]Package{},
cached: map[string]interface{}{},
}
type InMemoryDatabase struct {