mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-08 02:55:58 +08:00
test cobra
This commit is contained in:
@@ -527,6 +527,9 @@ func (c *config) GetConfFromRegistry(registry discoveryregistry.SvcDiscoveryRegi
|
||||
}
|
||||
|
||||
func InitConfig(configFolderPath string) error {
|
||||
defer func() {
|
||||
fmt.Println("use config folder", configFolderPath)
|
||||
}()
|
||||
err := Config.initConfig(&Config, FileName, configFolderPath)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user