This repository has been archived on 2025-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
chronozinc/settings/defaults.go
2016-12-05 16:35:06 +01:00

17 lines
420 B
Go

package settings
import "github.com/spf13/viper"
// SetViperDefaults set the default settings for the viper handler
func SetViperDefaults() {
viper.SetDefault("processes", 1)
viper.SetDefault("mznfzn", "mzn-fzn")
viper.SetDefault("raw_dir", "raw")
viper.SetDefault("flags", "--verbose --statistics")
viper.SetDefault("output", "benchmark.csv")
viper.SetDefault("comma", ",")
viper.SetDefault("crlf", false)
}