feat:added auto job
This commit is contained in:
1 parent
328f7d4f4f
commit
54f48377f0
20 files changed
+671
-123
No files matched your search
@@ -82,8 +82,3 @@ func Setup(path string) {
|
||||
GenConfig = InitGen(cfgGen)
|
||||
}
|
||||
|
||||
func SetConfig(configPath string, key string, value interface{}) {
|
||||
viper.AddConfigPath(configPath)
|
||||
viper.Set(key, value)
|
||||
viper.WriteConfig()
|
||||
}
|
||||
Reference in new issue
Block a user