mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 00:55:32 +00:00
Finalized resolver
This commit is contained in:
@@ -40,12 +40,12 @@ func (l *Library) String() string {
|
||||
// INFO: this is the only place where the providers are created. There is no need for locking on access.
|
||||
func NewLibrary() *Library {
|
||||
return &Library{
|
||||
Agents: &xmlprovider.XMLProvider[Agent]{},
|
||||
Places: &xmlprovider.XMLProvider[Place]{},
|
||||
Works: &xmlprovider.XMLProvider[Work]{},
|
||||
Categories: &xmlprovider.XMLProvider[Category]{},
|
||||
Issues: &xmlprovider.XMLProvider[Issue]{},
|
||||
Pieces: &xmlprovider.XMLProvider[Piece]{},
|
||||
Agents: xmlprovider.NewXMLProvider[Agent](),
|
||||
Places: xmlprovider.NewXMLProvider[Place](),
|
||||
Works: xmlprovider.NewXMLProvider[Work](),
|
||||
Categories: xmlprovider.NewXMLProvider[Category](),
|
||||
Issues: xmlprovider.NewXMLProvider[Issue](),
|
||||
Pieces: xmlprovider.NewXMLProvider[Piece](),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user