GlobalModelRegistry returns the shared registry instance.
()
| 21 | |
| 22 | // GlobalModelRegistry returns the shared registry instance. |
| 23 | func GlobalModelRegistry() ModelRegistry { |
| 24 | return registry.GetGlobalRegistry() |
| 25 | } |
| 26 | |
| 27 | // SetGlobalModelRegistryHook registers an optional hook on the shared global registry instance. |
| 28 | func SetGlobalModelRegistryHook(hook ModelRegistryHook) { |