diff options
author | Keuin <[email protected]> | 2022-09-08 00:31:26 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-09-08 00:31:26 +0800 |
commit | a720c2c16b442b668db465fbbc70740cfc7ddee4 (patch) | |
tree | aac1ba37e4a19c3e9c34f70e9297b0a9e3803db6 /config.go | |
parent | d00c97e9dbfb59672ced042af8a6e849efab98cc (diff) |
Load config from file or cli.
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config.go b/config.go new file mode 100644 index 0000000..8d3f8f1 --- /dev/null +++ b/config.go @@ -0,0 +1,7 @@ +package main + +import "bilibili-livestream-archiver/recording" + +type GlobalConfig struct { + Tasks []recording.TaskConfig `mapstructure:"tasks"` +} |