mirror of
https://github.com/mudler/luet.git
synced 2025-09-06 01:30:29 +00:00
Initialize cached in singleton
This commit is contained in:
@@ -32,6 +32,7 @@ var DBInMemoryInstance = &InMemoryDatabase{
|
|||||||
CacheNoVersion: map[string]map[string]interface{}{},
|
CacheNoVersion: map[string]map[string]interface{}{},
|
||||||
ProvidesDatabase: map[string]map[string]Package{},
|
ProvidesDatabase: map[string]map[string]Package{},
|
||||||
RevDepsDatabase: map[string]map[string]Package{},
|
RevDepsDatabase: map[string]map[string]Package{},
|
||||||
|
cached: map[string]interface{}{},
|
||||||
}
|
}
|
||||||
|
|
||||||
type InMemoryDatabase struct {
|
type InMemoryDatabase struct {
|
||||||
|
Reference in New Issue
Block a user