Change consts type to map[string]interface{}

This commit is contained in:
M. Mert Yildiran
2023-02-05 22:55:02 +03:00
parent e62ebea8d8
commit 776f9ce9af
2 changed files with 3 additions and 3 deletions

View File

@@ -12,8 +12,8 @@ import (
)
type ScriptingConfig struct {
Consts map[string]string `yaml:"consts"`
Source string `yaml:"source" default:""`
Consts map[string]interface{} `yaml:"consts"`
Source string `yaml:"source" default:""`
}
type Script struct {