16 lines
411 B
Go
16 lines
411 B
Go
package configs
|
|
|
|
type ConfigFile struct {
|
|
Destination string `form:"destination" json:"destination"`
|
|
Source string `form:"source" json:"source"`
|
|
Mod string `form:"mod" json:"mod"`
|
|
}
|
|
|
|
type TemplaterConfig struct {
|
|
Name string `json:"Name"`
|
|
Config struct {
|
|
ConfigFiles []ConfigFile `json:"ConfigFiles"`
|
|
Variables map[string]interface{} `form:"-" json:"-"`
|
|
} `json:"Config"`
|
|
}
|