Fix some problems with viper setup.

- Fix error reporting throughout the executable side of the project.
This commit is contained in:
Aaron L 2016-06-12 15:34:57 -07:00
parent e0f461014b
commit 57e20dfd72
4 changed files with 49 additions and 55 deletions

View file

@ -2,10 +2,10 @@ package main
// Config for the running of the commands
type Config struct {
DriverName string `toml:"driver_name"`
PkgName string `toml:"pkg_name"`
OutFolder string `toml:"out_folder"`
TableName string `toml:"table_name"`
DriverName string `toml:"driver_name"`
PkgName string `toml:"pkg_name"`
OutFolder string `toml:"out_folder"`
TableNames []string `toml:"table_names"`
Postgres PostgresConfig `toml:"postgres"`
}