This commit is contained in:
withchao
2023-02-24 19:16:26 +08:00
parent d7640ca864
commit c019dd5f1e
12 changed files with 239 additions and 211 deletions
+1
View File
@@ -510,6 +510,7 @@ func unmarshalConfig(config interface{}, configPath string) error {
if err = yaml.Unmarshal(bytes, config); err != nil {
return err
}
return nil
}
func initConfig(config interface{}, configName, configPath string) error {