|
|
@@ -33,8 +33,6 @@ func DefaultLoad(modeulName string, defCfg interface{}) error { |
|
|
// filepath.Join用于将多个路径组合成一个路径 |
|
|
// filepath.Join用于将多个路径组合成一个路径 |
|
|
configFilePath := filepath.Join(filepath.Dir(execPath), "..", "confs", fmt.Sprintf("%s.config.json", modeulName)) |
|
|
configFilePath := filepath.Join(filepath.Dir(execPath), "..", "confs", fmt.Sprintf("%s.config.json", modeulName)) |
|
|
|
|
|
|
|
|
configFilePath = "D:\\Work\\Codes\\workspace\\workspace\\scheduler\\common\\assets\\confs\\middleware.json" |
|
|
|
|
|
|
|
|
|
|
|
return Load(configFilePath, defCfg) |
|
|
return Load(configFilePath, defCfg) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|