Added test details to config loading

This commit is contained in:
Patrick O'brien 2016-03-20 23:02:31 +10:00
parent 9d41861e90
commit e69573f68e

View file

@ -15,6 +15,12 @@ var cfg = struct {
Host string `toml:"host"`
Port int `toml:"port"`
DBName string `toml:"dbname"`
// Test details for template test file generation
TestUser string `toml:"test_user"`
TestPass string `toml:"test_pass"`
TestHost string `toml:"test_host"`
TestPort string `toml:"test_port"`
TestDBName string `toml:"test_dbname"`
} `toml:"postgres"`
}{}