mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2026-01-29 14:04:26 +00:00
Added modelregistry.GetDefaultRegistry
This commit is contained in:
@@ -28,6 +28,10 @@ func NewModelRegistry() *DefaultModelRegistry {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func GetDefaultRegistry() *DefaultModelRegistry {
|
||||||
|
return defaultRegistry
|
||||||
|
}
|
||||||
|
|
||||||
func SetDefaultRegistry(registry *DefaultModelRegistry) {
|
func SetDefaultRegistry(registry *DefaultModelRegistry) {
|
||||||
registriesMutex.Lock()
|
registriesMutex.Lock()
|
||||||
defer registriesMutex.Unlock()
|
defer registriesMutex.Unlock()
|
||||||
|
|||||||
Reference in New Issue
Block a user