check if fullvod exists; store config in UserConfigDir
All checks were successful
/ build-linux-amd64 (push) Successful in 1m8s
All checks were successful
/ build-linux-amd64 (push) Successful in 1m8s
This commit is contained in:
parent
c3dc6f095e
commit
aa28ffedc8
3 changed files with 58 additions and 13 deletions
|
|
@ -33,7 +33,7 @@ var defaultConfig = Config{
|
|||
},
|
||||
}
|
||||
|
||||
const CONFIG_FILENAME = "config.toml"
|
||||
var CONFIG_FILENAME string = "config.toml"
|
||||
|
||||
func ReadConfig(filename string) (*Config, error) {
|
||||
cfgBytes, err := os.ReadFile(filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue