🔨 Make the config field tags camelCase

This commit is contained in:
M. Mert Yildiran
2023-10-25 18:00:32 +03:00
parent 7e56d45c6b
commit 3b5cd6c77b
12 changed files with 87 additions and 87 deletions

View File

@@ -12,7 +12,7 @@ import (
type ScriptingConfig struct {
Env map[string]interface{} `yaml:"env" json:"env" default:"{}"`
Source string `yaml:"source" json:"source" default:""`
WatchScripts bool `yaml:"watchscripts" json:"watchscripts" default:"true"`
WatchScripts bool `yaml:"watchScripts" json:"watchScripts" default:"true"`
}
func (config *ScriptingConfig) GetScripts() (scripts []*misc.Script, err error) {