Init initializes the registry with default brand (feishu). It is safe to call multiple times (sync.Once).
()
| 65 | // Init initializes the registry with default brand (feishu). |
| 66 | // It is safe to call multiple times (sync.Once). |
| 67 | func Init() { |
| 68 | InitWithBrand(core.BrandFeishu) |
| 69 | } |
| 70 | |
| 71 | // InitWithBrand initializes the registry by loading embedded data and optionally |
| 72 | // overlaying cached remote data. The brand determines which remote API host to use. |