17 lines
228 B
Go
17 lines
228 B
Go
package config
|
|
|
|
type Config struct {
|
|
Input Input
|
|
Outputs map[string]Output `toml:"output"`
|
|
}
|
|
|
|
type Input struct {
|
|
Path string
|
|
Recurse bool
|
|
Ext string
|
|
}
|
|
|
|
type Output struct {
|
|
Enabled bool
|
|
Config map[string]any
|
|
}
|